www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/09/07:07:46

Date: Tue, 9 Oct 2001 13:46:43 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
X-Sender: pavenis AT ieva06
To: Tim Van Holder <tim DOT vanholder AT falconsoft DOT be>
Cc: djgpp AT delorie DOT com
Subject: Re: Cross compiler
In-Reply-To: <3BC2C783.7EE355EF@falconsoft.be>
Message-ID: <Pine.A41.4.05.10110091340500.8054-100000@ieva06>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019