AIX Cross compile on Mac OS X

Kai Ruottu karuottu@mbnet.fi
Thu Feb 1 14:05:00 GMT 2007


Perry Smith kirjoitti:
> As far as the "system headers", I basically copied /usr/include from 
> the AIX host and put it into /Users/pedz/Projects/aix-roots/5.3 and 
> then I set --with-sysroot equal to the base of that.  I had to fix a 
> few symbolic links after the copy.  As far as I know, that is all the 
> headers that gcc needs but I'm not sure.
 Stupid question but...  What you did with the AIX libraries?  Of course 
at least the "base target standard C
library" is required, including its headers, startups and library 
archives plus all the shared runtime libraries!
How else the link tests in libiberty and libstdc++-v3 could succeed?



More information about the Gcc-help mailing list