Mail Archives: djgpp/2001/10/09/07:07:46
On Tue, 9 Oct 2001, Tim Van Holder wrote:
> ROLAND wrote:
> >
> > Can any one help me?
> >
> > I am building a cross-compiler using binutils 2.11.2,
> > gcc 3.0 and djcrx 2.03.
> > The host and target are correct for binutils, but gcc
> > does not completely accept the target.
> > --target=i386-pc-msdosdjgpp
> > gcc tells me this target is not supported in libffi,
> > boehm-gc, zlib and libjava...
> > Is this a gcc 3.0 problem? Or is that the same with
> > other versons?
> > Anyways, after configure, I *can* run make, but this
> > also fails at a certain point.
> > I get the following error:
> > tmp-dum.c:1:6: ../include/sys/version.h: No such file
> > or directory
> > After that, the make just terminates.
> >
> > I hope some one can help me, 'cause I'm stuck!
>
> Sounds like you unzipped djcrx203 in the wrong place.
> It should be in $prefix/i386-pc-msdosdjgpp, where
> $prefix is the prefix used when configuring gcc
> (/usr/local being the default).
>
I'm not sure. In my latest builds I added generating
djgpp.ver (similar as for native build) to gcc build directory
and this file is one which includes sys/version.h. As far as I
remeber specs in original gcc-3.0 and gcc-3.0.1 source archive
may still contain %s../include/sys/version.h. I think
putting file djgpp.ver (which includes sys/version.h) in gcc version
specific directory is more safe solution after I add rule in DJGPP
related makefile fragments to generate this file.
See patches in http://www.ltn.lv/~pavenis/gcctest/gcc2953s2.zip
for more details
Andris
- Raw text -