Minor linker question.

Bill Ricker bill.n1vux-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Jul 27 10:35:44 EDT 2007


On 7/27/07, Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org> wrote:
> I'm building a 32-bit .so on a 64-bit system and I get the following
> warnings:
> /usr/bin/ld: skipping incompatible /usr/lib64/libc.so when searching
> for -lc
>
> I am using -m32 on both the object build as well as the library build.
> I don't see an appropriate option either from gcc or using -Wl,<linker
> option>.. It's not really a problem since this is only a warning and the objective is to produce only a 32-bit library.


I would expect you'd have to override all the default paths

-- 
Bill
n1vux-WYrOkVUspZo at public.gmane.org bill.n1vux-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the Discuss mailing list