From owner-freebsd-current Thu Jan 18 10:11:29 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA22881 for current-outgoing; Thu, 18 Jan 1996 10:11:29 -0800 (PST) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA22876 for ; Thu, 18 Jan 1996 10:11:26 -0800 (PST) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.6.12/8.6.12) with ESMTP id KAA11615; Thu, 18 Jan 1996 10:11:18 -0800 Message-Id: <199601181811.KAA11615@austin.polstra.com> To: Bruce Evans cc: freebsd-current@FreeBSD.org Subject: Re: src/lib/libc/sys/Makefile.inc: proposed change In-reply-to: Your message of "Thu, 18 Jan 1996 17:58:40 +1100." <199601180658.RAA32330@godzilla.zeta.org.au> Date: Thu, 18 Jan 1996 10:11:18 -0800 From: John Polstra Sender: owner-current@FreeBSD.org Precedence: bulk Bruce wrote: > >character in an identifier. So it was interpreting `$FOO' as an > >identifier, rather than as two separate tokens. This is never correct > >in i386 assembly language, since `$' is an operator that means > >"interpret as a literal". > > This only happens if the wrong cpp is invoked. /usr/bin/cpp is > essentially `/usr/libexec/cpp -traditional' ... Oh! I get it now. I hadn't realized that /usr/bin/cpp is a shell script that invokes /usr/libexec/cpp with some extra arguments. I just assumed it was a link to /usr/libexec/cpp. Bruce also wrote: > movl $ FOO,%eax > > works, but is ugly and would require too many source code changes. Another good idea! For my particular case, it only requires one source code change. [ John slinks off into the corner, embarrassed, tail between his legs, leaving src/lib/libc/sys/Makefile.inc untouched. ] Thanks for straightening me out! I'm glad I asked. -- John