1/1

|
Configuration Options i.e. --build= , --host , --target==`
by tyagi007 on Sep 7, 2011 |
tyagi007
Posts: 6 Joined: Jul 29, 2011 Last seen: Feb 3, 2012 |
||
|
Hi,
I am building Openrisc GDB7.2 source on linux x86 machine, is there some reference available for configurations options to be provided for --host=i386, --target=XXX and --build=XXX options? |
|||
|
RE: Configuration Options i.e. --build= , --host , --target==`
by olof on Sep 7, 2011 |
olof
Posts: 218 Joined: Feb 10, 2010 Last seen: Dec 17, 2018 |
||
|
The easiest way is just to check out the svn repo at opencores and run ./bld-all.sh from the gnu-src directory. That takes care of setting the correct flags and building the complete toolchain. You will however need the linux tree and uclibc from git.openrisc.net
|
|||
|
RE: Configuration Options i.e. --build= , --host , --target==`
by filepang on Sep 7, 2011 |
filepang
Posts: 23 Joined: Jul 2, 2009 Last seen: May 6, 2016 |
||
|
--build=build-type
the type of system on which the package is being configured and compiled (rarely needed); --host=host-type the type of system on which the package will run; --target=target-type the type of system for which any compiler tools in the package will produce code. in case of build or32 cross toolchain for linux box. just specify --target, other options(--host, --build) automatically configured by default value(your build system). also, you can find reference in or32 toolchain build script. http://opencores.org/ocsvn/openrisc/openrisc/trunk/gnu-src/bld-all.sh |
|||
1/1

