[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automake: compiling assembly files is *broken* in 1.5 (fwd)
From: |
Alexandre Duret-Lutz |
Subject: |
Re: automake: compiling assembly files is *broken* in 1.5 (fwd) |
Date: |
Sat, 3 Nov 2001 14:39:06 +0100 |
On Thu, Oct 18, 2001 at 05:25:27PM -0400, C. Scott Ananian wrote:
[...]
> ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
> LTASCOMPILE = $(LIBTOOL) --mode=compile $(AS) $(AM_ASFLAGS) $(ASFLAGS)
> [...]
> .S.o:
> $(ASCOMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
>
> .S.obj:
> $(ASCOMPILE) -c `cygpath -w $<`
>
> .S.lo:
> $(LTASCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
> ------
>
> The '-c' flag in each of these three rules is incorrect, and causes
> make to fail:
> make[2]: Entering directory `/home/cananian/Harpoon/Runtime/arch/ix86'
> /bin/sh ../../libtool --mode=compile as -c -o header.lo `test -f header.S ||
> echo './'`header.S
> as -c header.S -o header.o
> as: unrecognized option `-c'
> make[2]: *** [header.lo] Error 1
Where is AS defined? Did you call AM_PROG_AS from your configure.ac?
AM_PROG_AS sets AS to $(CC), it's probably why there is a '-c' in
these rules (although I agree it doesn't make it easy to use a different
value for AS).
- Re: automake: compiling assembly files is *broken* in 1.5 (fwd),
Alexandre Duret-Lutz <=