[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cross compiling doesn't work anymore (was: Re: GNU libc snapshots work again on the Hurd)

(Repost because I got the list addresse wrong)

On Sat, Dec 19, 1998 at 07:58:33PM +0100, Mark Kettenis wrote:
> The solution is to create a libc.so somewhere where (only) your cross
> compiler can find it with contents like this:

Thanks, this seems to work. But now I get:

ld: warning: ld.so.1, needed by /usr/i386-gnu/lib/libc.so.0.2, not found (try using --rpath)
ld: warning: libmachuser.so.1, needed by /usr/i386-gnu/lib/libc.so.0.2, not found (try using --rpath)
ld: warning: libhurduser.so.0.0, needed by /usr/i386-gnu/lib/libc.so.0.2, not found (try using --rpath)

I could fix this by adding '-Xlinker "-rpath=/usr/i386-gnu/lib"' to gcc
command line. There must be a different solution to this, as it worked

Gordon, please add the following symlinks to the Debian package, they are

/gnu/lib/libc.so.0.2 -> libc-2.0.106.so
/gnu/lib/libhurduser.so.0.0 -> libhurduser-2.0.106.so


"Rhubarb is no Egyptian god."        Debian GNU/Linux        finger brinkmd@ 
Marcus Brinkmann                   http://www.debian.org    master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de                        for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       PGP Key ID 36E7CD09

Reply to: