[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using nonstandard (static) lib name
From: |
Ralf Wildenhues |
Subject: |
Re: Using nonstandard (static) lib name |
Date: |
Tue, 11 Nov 2008 08:04:58 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello Jan,
* Jan Engelhardt wrote on Tue, Nov 11, 2008 at 07:34:22AM CET:
>
> Well, I don't see why they should not be able to process
> gcc/ld -o finalprogram xyz.o myshared.a
>
> Note that I am not even trying to use -l, but the bare filename.
> finalprogram_SOURCES = xyz.c
> finalprogram_LDADD = myshared.a
You are able to use it. In 'foreign' mode, the associated error
for noinst_LIBRARIES degrades to a warning, and with -Wnone you
can turn it (more precisely: all warnings) off.
Hmm, wonder why this doesn't link to -Wno-portability.
Cheers,
Ralf