This is the mail archive of the
mailing list for the GCC project.
- To: Jim Wilson <wilson at cygnus dot com>
- Subject: Re: http://gcc.gnu.org/ml/gcc-patches/2000-05/msg01104.html
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Mon, 22 May 2000 20:05:39 -0700
- Cc: aoliva at cygnus dot com, gcc-patches at gcc dot gnu dot org,binutils at sourceware dot cygnus dot com
- References: <20000522175229.A15265@valinux.com> <200005230147.SAA16213@rtl.cygnus.com>
On Mon, May 22, 2000 at 06:47:24PM -0700, Jim Wilson wrote:
> I even think I know what you are doing wrong. I suspect that you aren't
> using the --with-headers and --with-libs configure options.
> I suggest you start at the beginning, with a gcc-XXX.tar.gz file, and give a
> complete explaination of what you do to reach the point where crt1.o is not
> found. This must be complete enough so that someone else can reproduce what
> you are doing and get the same error.
> Once we have that, we can decide how to fix the problem. Perhaps we will
> want to convince you to use the --with-headers/--with-libs options. Or perhaps
> we will want to make changes that allow your configure/build method to work.
I have ia64 libraries and heade files under
I configure the ia64 tool chain as
# /work/ia64/import/cygnus/20000501/src/configure --with-gcc-version-trigger=/work/ia64/import/cygnus/20000501/src/gcc/version.c --host=i686-pc-linux-gnu --target=ia64-cygnus-linux --enable-cpp --enable-shared --prefix=/usr/ia64-cygnus-linux --enable-languages=c,c++--with-local-prefix=/usr/ia64-cygnus-linux
/usr is owned by root and I build it as myself. As for as I can tell,
--with-headers/--with-libs will try to copy things over to
/usr/ia64-cygnus-linux/ia64-cygnus-linux/ during configure. It
doesn't make much senses to me:
1. I am not root. I have no permission to write to /usr.
2. Those headers and libs are already under
I don't know why I have to do it anyway.
Assuming --with-headers/--with-libs works for me, which doesn't, I
get exactly the same as before. I must have done something wrong.
Could you please tell me the correct way to build a ia64 cross
tool chain from Linux/ia32 using the existing GNU C library Linux/ia64
H.J. Lu (email@example.com)