From: bhenning@wimsey.bc.ca (Bill Henning) Subject: Re: How does the new gcc handle -g and shared libraries? Date: Sat, 16 Jan 1993 22:01:58 GMT
In article <mrd.727006986@lisa> mrd@ecs.soton.ac.uk (Mark Dobie) writes:
>Simple question.
>
>Does the new gcc let you use debugging information *and* link to shared
>libraries?
>
>Elaboration.
>
>Version 2.2.2d defaults to static linking when the -g (debugging) flag
>is given. This is OK except for libraries that I only have as a shared
>library, spcifically xview3pl2. In this case its back to fprintfs...
>
>I was wondering if the new version improves this situation.
>
> Mark
>
>PS I've checked the FAQ, README, release notes and ChangeLog...
>
>--
>Mark Dobie M.R.Dobie@uk.ac.soton.ecs (JANET)
>University of Southampton M.R.Dobie@ecs.soton.ac.uk (The World)
Actually I ran into the same problem when trying to debug 'rview' from
Radiance - if I compile with '-g' it can't find the math library -
not surprising given there is no libgm on my system (SLS 0.98.1)
Bill