bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 3/3] Explicitly link against all utilized libraries


From: Roland McGrath
Subject: Re: [PATCH 3/3] Explicitly link against all utilized libraries
Date: Wed, 1 May 2013 19:01:14 -0700 (PDT)

The Hurd API is that these things are available when you just use -lc.
So if need be, we should make the installed libc.so linker script do
AS_NEEDED ( libmachuser.so.1 libhurduser.so.1 ) or something like that.

I'm somewhat confused about what you're doing so that you had an issue,
however.  How does the fact that your cross-compilation host is Fedora
matter at all?  You're building cross-compilers, and that should include
a binutils built for an i?86-gnu target.  It's only the defaults baked
into the cross-ld and cross-gcc that matter, and the details of the
Fedora host tools have nothing to do with that.

(That said, I am in favor of the --no-add-needed default, so we should
get everything in shape to work with that.)


Thanks,
Roland



reply via email to

[Prev in Thread] Current Thread [Next in Thread]