|
From: | Paul Kohout |
Subject: | I am trying to build a cross compiler for i686-pc-elf on my cygwin platform. I am using binutils-2.1 |
Date: | Tue, 30 Sep 2003 09:28:09 -0400 |
I am trying to build a cross compiler for i686-pc-elf on my cygwin
platform. I am using binutils-2.14 and gcc-3.3.1. Binutils seems to
be configured, built, and installed correctly. GCC complains at one
point when it tries to test the cross compiler (xgcc). It fails when it
tries to create an executable. The problem is that it tries to link in crt0.o
and libc.a (or libg.a), but these files do not exist. Could anyone shed some
light on how to solve this problem?
Here is my comman sequence from Cygwin's bash shell:
host=i686-pc-cygwin
target=i686-pc-elf prefix=/usr/local i=$prefix/bin tar -xzvf binutils-2.14.tar.gz tar -xzvf gcc-3.3.1.tar.gz mkdir build-binutils build-gcc cd build-binutils ../binutils-2.14/configure --target=$target --prefix=$prefix -v make all install cd .. cd build-gcc ../gcc-3.3.1/configure --target=$target --prefix=$prefix -v make all install cd .. Thanks,
Paul Kohout
|
[Prev in Thread] | Current Thread | [Next in Thread] |