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] |
Bleh ... this will teach me to post at midnight!
--build is where you're running the configury/build process. That's self-evident and defaults to the sane value.
--host is where you want the language processor to *run*. If you don't specify it, it will equal --build.
--target is the architecture for which you want the language processor to *emit* code.
When --host == --build != --target, you'll build a normal cross compiler. When --host != --build != --target, you'll have a Canadian Cross.
So when I build binutils, I do it with the following commands... (from a build directory)
$ ../../binutils-2.16.1/configure --target=m68k-elf --prefix=$HOME/rtems/tools $ make && make install
------ 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] |