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] |
On Thu, 2006-09-21 at 19:46 +0100, Dave Korn wrote: > On 21 September 2006 08:41, eWobbuh wrote: > > > Hello there, > > > > i m very new to crosscompiling (and linux ;) ).. i have a working toolchain > > and uclibc for the mips32. I have compiled a simple c program (hello world) > > and is working fine. But now i want compile something bigger (openobex and > > ussp-push).. but how to begin? if just run ./configure and the make && make > > install, it just compiles, and thats not what i want.. > > Well, with most autotoolized software, if you want to *cross* compile it to > a different target, you specify "--target=<target-triplet>" Sorry, no - Common misunderstanding. You want --host=<target-triplet> --build=... system you are building on --host=... system, the binaries to be built are supposed to run on. --target=... system, the binaries to be built on "build", running on "host" are supposed to generate output for. > as an argument to > configure, where <target-triplet> matches your compiler's target, and the > configure script should find and use the cross-compiler automagically. Ralf -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |