This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: building cross-libmudflap not possible because of libtool bug?
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 01 Sep 2006 08:06:14 -0700
- Subject: Re: building cross-libmudflap not possible because of libtool bug?
- References: <Pine.LNX.4.64.0609011306540.4322@nyjnma.fhfr.qr>
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