AIX Host -> PowerPC Linux

David Korn
Fri Jun 8 08:15:00 GMT 2001

>-----Original Message-----
>From: [ ]
>Sent: 08 June 2001 16:08


  Not quite, but we'll say no more about it :-P

>>   But you *have* to either use --with-headers OR symlink 
>> into .../include OR manually place the headers in 
>.../sys-include if your
>> target headers need fixing.
>Do previously-installed glibc headers need fixing?

Glibc headers should be ANSI and Gcc compliant from the word go, and so
shouldn't *ever* need fixing.  The same goes for the Newlib headers; in
fact, if either of those sets of headers ever did need fixing, it should be
treated as a bug and the fix should be applied to the source in the Gnu /
Redhat CVS tree. 

>> So why not use --with-headers, let it copy them into .../sys-include, let
>> it fix them during the build, and then after installing just delete the
>> sys-include directory?
>Oops, this is, in fact, exactly what I do for non *-linux 
>crosscompilers.  :^)

  It's almost the same as what I do for (non-linux) crosscompilers, with
one exception: I don't even bother deleting the sys-include, since include
and sys-include have the same contents, and since the $prefix/lib/gcc-lib/
$target/$version/include dir where the fixed headers live is first of all
on the path, it doesn't really matter to me that sys-include gets searched
before include, since I know for a fact that the version in sys-include
will be identical to the version in include.

we are not seats or eyeballs or end users or consumers.
we are human beings - and our reach exceeds your grasp.
                    deal with it.                      - 

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list