Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!versatc!mips!synthesis!len From: len@synthesis.Synthesis.COM (Len Lattanzi) Newsgroups: comp.unix.ultrix Subject: Re: -g compile option used on libc.a and libm.a Keywords: pmax, ds3100 Message-ID: <20486@mips.mips.COM> Date: 25 May 89 23:43:00 GMT References: <104@asihub.UUCP> Sender: news@mips.COM Reply-To: len@synthesis.synthesis.com (Len Lattanzi) Distribution: na Organization: Synthesis Software Solutions Inc, Sunnyvale, CA Lines: 17 In article <104@asihub.UUCP> dan@asihub.UUCP (Dan O'Neill) writes: :Under Ultrix 3.0 (RISC) for the PMAX, it appears that the object :libraries /usr/lib/libc.a and /usr/lib/libm.a are compiled with the -g :option. Anybody have any ideas why this was done? :-- :Dan O'Neill dan@asihub.uucp {uunet|ncr-sd}!asihub!dko :Automated Systems, Inc. San Diego R&D You don't say how you're determining this so I'm guessing that you're reading the 'glevel 2' from 'odump -F'. If you look in /usr/include/symconst.h you'll see that GLEVEL_0 is #defined as 2. I just looked at Ultrix Worksystem V2.0 (Rev. 7) and everything but /lib/libfe.a /lib/libu.a and some parts of /lib/libU77.a were compiled -g0. Len Lattanzi (len@Synthesis.com) <{ames,pyramid,decwrl}!mips!synthesis!len> Synthesis Software Solutions, Inc. The RISC Software Company I would have put a disclaimer here but I already posted the article.