Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!bionet!csd4.milw.wisc.edu!mailrus!purdue!mentor.cc.purdue.edu!mace.cc.purdue.edu!abe From: abe@mace.cc.purdue.edu (Vic Abell) Newsgroups: comp.sys.next Subject: "-s" option to ld produces bad object file Message-ID: <1545@mace.cc.purdue.edu> Date: 23 Jan 89 16:14:54 GMT Organization: Purdue University Lines: 8 While porting some X Windows code to a NeXT work station we discovered that the "-s" option in a Makefile causes ld to produce an invalid object file. The make rule went something like cc -O -s ... and the object file contained a zero length load command of zero where the zero length LC_SYMTAB (stab) command should have been.