automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automake/209: compiling asm sources with the development version of


From: Tom Tromey
Subject: Re: automake/209: compiling asm sources with the development version of automake fails
Date: 16 Jul 2001 23:46:24 -0600

>>>>> "James" == james  <address@hidden> writes:

James> I tried building a package (gtk+) that included some assembler
James> files with cvs HEAD automake (using autoconf-2.13).  It failed
James> due to AS and ASFLAGS not being defined.  I have no idea where
James> these variables are supposed to be defined.

Good point.

James> Automake 1.4 used CC to compile the .S files, which worked
James> fine.  Automake didn't complain about AS and ASFLAGS not being
James> defined while generating the Makefile.in's.

We stopped using CC and CFLAGS due to user complaints.
I think this is clearly the right thing for us to do.

However, I agree that having automake just generate an error here is
bad, since there's no clue that you have to define AS and ASFLAGS in
configure.in, and there's no macro for helping you do that.

One fix would be to introduce such a macro.
That would be easy (though we're trying to wean ourselves from new
macros that aren't in autoconf).

Another fix would be to define AS=$(CC) and ASFLAGS=$(CFLAGS) by
default (this is what the macro would do, too, but in this scenario
we'd do it in automake.in).

Akim, any preference from you?

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]