[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using ld instead of ar
From: |
Tom Tromey |
Subject: |
Re: Using ld instead of ar |
Date: |
19 Jan 2002 17:59:23 -0700 |
>>>>> "Lars" == Lars Hecking <address@hidden> writes:
Lars> $ man ld
Lars> [...]
Lars> -r Produce relocatable object file, suitable for another pass
Lars> through ld.
Lars> [...]
I think you can do that like this:
noinst_PROGRAMS = whatever.o
whatever_o_SOURCES = ...
whatever_o_LDFLAGS = -r
I haven't tried this though.
Tom