This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: grub-0.92 and CVS automake...
- From: Tom Tromey <tromey at redhat dot com>
- To: Harlan Stenn <Harlan dot Stenn at pfcs dot com>
- Cc: automake at gnu dot org
- Date: 26 Sep 2002 23:27:47 -0600
- Subject: Re: grub-0.92 and CVS automake...
- References: <5320.1032939733@puss.pfcs.com>
- Reply-to: tromey at redhat dot com
>>>>> "Harlan" == Harlan Stenn <Harlan.Stenn@pfcs.com> writes:
Harlan> The problem is that grub likes the "old style" of AS rules,
Harlan> and current automake/autoconf Really Want grub to use
Harlan> AM_PROG_AS. Making this change means asm.S no longer
Harlan> assembles because of missing -I directives. After adding
Harlan> them, the resulting asm.o (apparently) has extra/duplicate
Harlan> symbols, so the final link fails.
And the AS rules have gone through a few mutations, so I'm not sure
which style the old style is.
You can set AM_ASFLAGS to include whatever you want: $(INCLUDES),
$(DEFS), etc. That is one way to approximate one of the old
behaviors. Or you can write your own .s.o / .s.lo rules for complete
control.
I don't know about the link problem.
Tom