Date: Sat, 10 Oct 1998 19:30:08 +0200 (SAT) From: Robert Nordier <rnordier@nordier.com> To: bde@zeta.org.au (Bruce Evans) Cc: committers@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386 Makefile Message-ID: <199810101730.TAA16961@ceia.nordier.com> In-Reply-To: <199810101537.BAA06114@godzilla.zeta.org.au> from Bruce Evans at "Oct 11, 98 01:37:31 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote: > >The .s.o suffix rules in bsd.lib.mk are deliberately stripping all > >but the [-BID] options out of CFLAGS. This is causing problems for > >the BTX-specific startup code in /sys/boot/i386/btx/lib. (The -elf > >override is never seen.) > > > >Any thoughts on whether this is a correctable lib.mk problem, or just > >something BTX should find another way around? > > bsd.lib.mk shouldn't do that, especially since the rules were changed to > use [g]cc with the unportable -x assembler-with-cpp option instead of > "cpp ... | as". You'll have to work around it in btx, since the 3.0 > release is too close to change bsd.lib.mk. Thanks. > BTW, you should use *.S instead of *.s, at least if you want preprocessing > by cpp. I don't think gcc can handle assembler-with-m4. I've been trying to avoid (ab)using cpp for assembly source, though this does seem to be the BSD way of doing things, and I may be missing the wood for the trees, here. -- Robert Nordier
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810101730.TAA16961>