[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Further GUB problems
From: |
Jan Nieuwenhuizen |
Subject: |
Re: Further GUB problems |
Date: |
Mon, 06 Nov 2006 15:42:45 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
Jan Nieuwenhuizen <address@hidden> writes:
> so configure is called with an environment setting (LDFLAGS?) that
> makes gcc look in local.
The problem is LD_LIBRARY_PATH.
$ LD_LIBRARY_PATH=/home/janneke/bzr/gub/target/local/system/usr/lib
target/linux-x86/system/usr/cross/bin/i686-linux-gcc
-I/home/janneke/bzr/gub/target/linux-x86/build/lilypond-origin -O2
-finline-functions -g -pipe
-I/home/janneke/bzr/gub/target/linux-x86/system/usr/include
-L/home/janneke/bzr/gub/target/linux-x86/system/usr/lib
-L/home/janneke/bzr/gub/target/linux-x86/system/usr/bin
-L/home/janneke/bzr/gub/target/linux-x86/system/usr/lib/w32api -Wl,--as-needed
-Wl,--rpath,'$${ORIGIN}/../lib/' ugh.c -lguile
-L/home/janneke/bzr/gub/target/linux-x86/system/usr/lib -lguile -lgmp -ldl
/home/janneke/bzr/gub/target/local/system/usr/lib/libgmp.so.3: undefined
reference to address@hidden'
collect2: ld gaf exit-status 1 terug
We have a bit of a problem here. For all tools (from local) that we run,
LD_LIBRARY_PATH must to point to local (first), but during link time
it must be unset (or point to linux-x86, but the cross compile will do
that for us).
So, either we wrap all executables in local, or we call the cross compiler
`LD_LIBRARY_PATH= i686-linux-gcc'.
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
- Re: Further GUB problems, (continued)
- Re: Further GUB problems, Jan Nieuwenhuizen, 2006/11/03
- Re: Further GUB problems, Erik Sandberg, 2006/11/03
- Re: Further GUB problems, Jan Nieuwenhuizen, 2006/11/03
- Re: Further GUB problems, Erik Sandberg, 2006/11/03
- Re: Further GUB problems, Jan Nieuwenhuizen, 2006/11/03
- Re: Further GUB problems, Erik Sandberg, 2006/11/03
- Re: Further GUB problems, Jan Nieuwenhuizen, 2006/11/03
- Message not available
- Re: Further GUB problems, Han-Wen Nienhuys, 2006/11/06
- Message not available
- Re: Further GUB problems, Han-Wen Nienhuys, 2006/11/06
- Re: Further GUB problems, Jan Nieuwenhuizen, 2006/11/06
- Re: Further GUB problems,
Jan Nieuwenhuizen <=
- Re: Further GUB problems, Han-Wen Nienhuys, 2006/11/06
- Re: Further GUB problems, Jan Nieuwenhuizen, 2006/11/07
- Re: Further GUB problems, Han-Wen Nienhuys, 2006/11/03
further gub problems, Erik Sandberg, 2006/11/09