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] |
Cross-compiling gnu (autoconfed packages) on the "clean" cygwin host system recently worked well for me, while using the script (adopted from Kai Ruottu): #!/bin/sh AR=/usr/local/bin/powerpc-linux-ar \ CC=/usr/local/bin/powerpc-linux-gcc-3.3.2 \ CFLAGS=-Os \ CXXFLAGS=-Os \ NM=/usr/local/bin/powerpc-linux-nm \ RANLIB=/usr/local/bin/powerpc-linux-ranlib \ AR_FOR_BUILD=ar \ CC_FOR_BUILD=cc \ GCC_FOR_BUILD=gcc \ NM_FOR_BUILD=nm \ RANLIB_FOR_BUILD=ranlib \ AR_FOR_TARGET=/usr/local/bin/powerpc-linux-ar \ CC_FOR_TARGET=/usr/local/bin/powerpc-linux-gcc-3.3.2 \ GCC_FOR_TARGET=/usr/local/bin/powerpc-linux-gcc-3.3.2 \ CXX_FOR_TARGET=/usr/local/bin/powerpc-linux-g++.exe \ OLDCC=/usr/local/bin/powerpc-linux-gcc-3.3.2 \ NM_FOR_TARGET=/usr/local/bin/powerpc-linux-nm \ RANLIB_FOR_TARGET=/usr/local/bin/powerpc-linux-ranlib \ ./configure --host=ppc-linux-gnu make # PLEAS NOTE - THERE IS NO "make install" in this script ! ;-) However, when I started to do "native" compiling on my "dirty used-to-be target" ppc system, (embedded diskless board, actually) running on "vanilla" Linux 2.6.8 (I am building this system from scratch) then I am having the problems I have described originally ("I know it's my own damn fault" ) Cheers, Alex -----Original Message----- From: Robert Staven [mailto:robert@staven.no] Sent: Tuesday, October 19, 2004 3:46 PM To: Povolotsky, Alexander Subject: Re: autoconf usage question > The ./configure still picks the wrong compiler, fails the tests, pics wrong > incudes, etc ... . > Also the "cache persistency" is the problem (IMHO) - if the options or env > vars got changed - the "cached info" > needs to be not used by "configure' ... (at least I would like to have such > behaviour) Had a problem in same direction. Deleting the 'config.cache' before running ./configure helped. But you may have tried that. I'm (trying to) use GNU autoconf/automake for cross compiling, but find it hard to figure out how to do it... Not much info to find on the net. I'm closing in, trying to figure out the libraries psrt now, but documentation ist to good.. :) Regards Robert Staven ------ 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] |