Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!cbnewsd!bamford From: bamford@cbnewsd.att.com (harold.e.bamford) Newsgroups: comp.sys.3b1 Subject: Re: Compiler without defines Message-ID: <1991Mar27.205741.98@cbnewsd.att.com> Date: 27 Mar 91 20:57:41 GMT References: Distribution: na Organization: AT&T Bell Laboratories Lines: 25 In article jms@informix.com (John Stephens) writes: >Configuration: 3.51m, 2M/67M, combo card with 512K, ethernet (disconnected) > >Suddenly, my compiler can only locate the pre-defined symbol unix. >MC68000, SysV, etc have disappeared. The compiler doesn't define MC68000 or SysV. These are defined on the compiler command line via the -D directives. If you use make, with the standard includes (Makepre.h, Makepost.h ???) then the CC or CC_CMD macro will have these defines. Try compiling with a makefile: include Makepre.h prog: prog.c prog.h $(CC) prog.c include Makepost.h The exact names are from memory, but you get the idea, I'll bet. Good luck. -- Harold