Date: Thu, 16 Mar 1995 10:30:02 -0800 From: Heikki Suonsivu <hsu@clinet.fi> To: freebsd-bugs Subject: gnu/246: Compiler doesn't define anything to determinate bsd 4.4 origin Message-ID: <199503161830.KAA18731@freefall.cdrom.com> In-Reply-To: Your message of Thu, 16 Mar 1995 20:27:34 %2B0200 <199503161827.UAA25477@katiska.clinet.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
>Number: 246 >Category: gnu >Synopsis: Compiler doesn't define anything to determinate bsd 4.4 origin >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 16 10:30:01 1995 >Originator: Heikki Suonsivu >Organization: Helsinki University of Technology, Finland >Release: FreeBSD 2.1.0-Development i386 >Environment: Current (a week old) >Description: bsd or bsd4_4 or anything should be defined by C compiler. Currently there is nothing but unix, i386 and FreeBSD, which forces #ifdef FreeBSD clutter even when the program only needs generic BSD features, nothing specific to FreeBSD. gcc version 2.6.2 /usr/libexec/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=6 -Dunix -Di386 -D__FreeBSD__=2 -D__unix__ -D__i386__ -D__FreeBSD__=2 -D__unix -D__i386 -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386) /usr/users/hsu/hello.c /var/tmp/cc024742.i >How-To-Repeat: gcc -v existing-file.c >Fix: Add -D__bsd4_4__ and/or -Dbsd4_4 It should make its way into 2.1. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503161830.KAA18731>