This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Building gcc for microblaze-none-linux-gnu?
- From: Michael Eager <eager at eagerm dot com>
- To: Matthias Goldhoorn <matthias dot goldhoorn at uni-bremen dot de>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 24 Feb 2013 09:31:48 -0800
- Subject: Re: Building gcc for microblaze-none-linux-gnu?
- References: <51271E4D.4030501@uni-bremen.de>
On 02/21/2013 11:29 PM, Matthias Goldhoorn wrote:
Hello,
i tried to setup an toolchain for building linux application for the microblaze target.
I tried so to build gcc with the following command:
/home/goldhoorn/limes/uclinux-rock/external/gcc/configure
--prefix=/home/goldhoorn/limes/uclinux-rock/install/microblaze none-linux-gnu
--target=microblaze-none-linux-gnu target_alias=microblaze-none-linux-gnu --enable-languages=c,lto
--verbose --with gnu-as --disable-threads --enable-ld=no --disable-ld
Matthias -- You need to build GCC with headers for the target.
This is generally a multi-step build process, building the headers,
a bootstrap GCC, the library, and followed by building a final GCC.
You can use Crosstool-NG to build a complete tool chain. See
http://www.li-pro.de/xilinx_mb/toolchain/start (auf Deutsch).
Alternately, you can use the pre-built binaries which you can
download from Xilinx.
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077