This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: oops! added --testlinux to all.sh call, now get bin/sh: line 1: scripts/mkdep: Argument list too long


> Well, this patch is applied....  I downloaded crosstool-0.28-rc37,
> modified the build script and I get the error "LDFLAGS=-all-static
> invalid host type". Has anyone else had this problem?
>
> Should configure be called this way?
>
> ${BINUTILS_EXTRA_CONFIG} configure
>
> This would set the environment variable instead of passing it as a
> script parameter.
>
> TIA

I believe the configure script trips over the LDFLAGS parameter. I don't
recall the exact error message you get when you mix them up, though. This is
what has always worked for me:

/configure
make configure-host
(both called without LDFLAGS parameter)
make LDFLAGS="-all-static"

HTH
Arno

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]