This is the mail archive of the crossgcc@sourceware.org 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] |
I think the static toolchain instructions in crosstool are indeed broken. Here are messages that suggested a fix: http://sources.redhat.com/ml/crossgcc/2005-07/msg00153.html http://sources.redhat.com/ml/crossgcc/2004-03/msg00201.html Hope that helps. - Dan On 2/13/06, Douglas Springer <doug@springer.net> wrote: > > Dan, > The instructions found here: > http://kegel.com/crosstool/crosstool-0.38/doc/crosstool-howto.html > Combined with the tarball of the same name appears to be broken, but it is entirely likely that I am missing something > important. > > I am attempting to build a static build so I don't have to worry about lib issues if/when I copy the resulting tools to another > machine, However, when I try: > > export BINUTILS_EXTRA_CONFIG="LDFLAGS=-all-static" GCC_EXTRA_CONFIG="LDFLAGS=-static" > > in the top level demo-i386.sh script, configure gives me an error about gcc not being able to configure more than one host at the time. > > SO, I got the doc here: > http://www.tldp.org/LDP/lfs/html/chapter05/binutils-pass1.html and > copied the command line from your scripts (minus the LDFLAGS=), > then configure & compiled with > make configure-host > make LDFLAGS="-all-static" > things work as expected (i.e. binutils configures and compiles). There is more to do to get binutils ready for glibc later on, but I'm sure you know that. > > I'm not all that great a shell programmer or I'd try to hack your scrips to get them to work, but I thought you'd want to know my frustrations. > I will just build the cross-compiler the old-fashioned way, I suppose. > Thanks, > Doug > -- Wine for Windows ISVs: http://kegel.com/wine/isv ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |