[adtools] Re: How to build an OS 4 native compiler on Cygwin?

  • From: Andrija Antonijevic <antony@xxxxxxxxxxxxxxxxx>
  • To: adtools@xxxxxxxxxxxxx
  • Date: Fri, 20 Apr 2007 20:38:49 +0200 (Central Europe Standard Time)

On 20-Apr-2007, Hans-Joerg Frieden wrote:

Andrija Antonijevic wrote:
Here is the line I used when building it the last time:
[...]
Thanks for the hints. Unfortunately now things stop here:
[...]
../../../gcc/4.0.x/binutils/libiberty/lrealpath.c -o lrealpath.o
[...]
I don't think that my modifications are responsible, because they are
very minimal. I guess I will need to try on a different platform, maybe
MacOS X...

I don't think your modifications are responsible, too, I seem to remember that I encountered this when building the native binutils.

Try replacing "#if defined (HAVE_REALPATH) && defined (HAVE_UNISTD_H)" with "#if !defined (REALPATH_LIMIT) && defined (HAVE_REALPATH) && defined (HAVE_UNISTD_H)", I think that should work. This is how lrealpath.c does it in gcc libiberty directory and I seem to remember that I changed it like that, too.

I'm not sure why I haven't changed and commited this...

Andrija
______________________________________________________________________________
Amiga Development tools ML - //www.freelists.org/list/adtools
Homepage...................: http://www.sourceforge.net/projects/adtools
Listserver help............: mailto:adtools-request@xxxxxxxxxxxxx?Subject=HELP

Other related posts: