This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Why are all object file names prefixed with lib_a-?
söndagen den 8 februari 2009 skrev Neal H. Walfield:
> If you use AM_CPPFLAGS et al., automake would use the bare name, in
> this case strlen.o. If you use lib_a_CPPFLAGS, however, automake
> makes the conservative assumption that the same source file may be
> used by multiple targets with different flags and prefixes the
> object's name with the target.
>
> Neal
Ok.
I had a feeling those object names would create trouble, and that was exactly
what they did for me. Fortunately I found what caused it.
It is the conditionals in Makefile.am, that goes
#if USE_LIBTOOL
The problem appears to be that automake don't see them. I don't know how to
solve that for automake, for a general solution, so I just patched the
conditionals away, to make it work for the case without libtools.
Karolina