On Fri, 2006-09-01 at 13:08 +0200, Richard Guenther wrote: > I'm experiencing building libmudflap cross, as libtool seems not to > pass --sysroot arguments to the compiler driver in link mode:
> /opt/cross/bin/sh4-linux-ld: crti.o: No such file: No such file or > directory > collect2: ld returned 1 exit status > make[4]: *** [libmudflap.la] Error 1 > > Is there a recommended way to either fix libtool or libmudflap? I don't understand why you are having so much problem with cross builds. I just did one yesterday with the trunk with --with-sysroot and it worked without any issue. You really should show your structure and options you passed to GCC to get anymore attention to this because there is not enough information to figure out what is going wrong. Oh and I did not need any hacks to get it building too. -- Pinski