http://gcc.gnu.org/ml/gcc-patches/2000-05/msg01104.html
H . J . Lu
hjl@valinux.com
Mon May 22 20:06:00 GMT 2000
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
/usr/ia64-cygnus-linux/ia64-cygnus-linux/
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
/usr/ia64-cygnus-linux/ia64-cygnus-linux/
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
binaries?
Thanks.
--
H.J. Lu (hjl@gnu.org)
More information about the Binutils
mailing list