------- Comment #2 from w dot northcott at unsw dot edu dot au  2006-06-14 
20:28 -------
(In reply to comment #1)
> What problem did you see when ld wasn't in build_gcc?

collect2: cannot find ld
when trying to link cross-compilers.  

This is not seen whn building on a fat library machine because then there are
no cross-compiler builds.
> 
> Also, if the compiler is configured with isysroot, if gcc.c is taught to
> default to using it, then I think the change to configure.ac isn't needed. 
> This also helps with point #3 I think.
> 

The logic that comes out of my tests runs like this:
1.  Unless CROSS_COMPILE is defined --with-sysroot and its derivative
TARGET_SYSTEM_ROOT are ignored.  So the mod to configure.ac is absolutely
essential

2 --with-sysroot would be enough on most platforms.  the -isysroot in the
CFLAGS is needed to prevent the issue with libsystem referencing the system
libmathCommon as in my email.

Bill


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28026

Reply via email to