Install-log 3.0-CVS (LONG)

Rudolf Floers r.floers at web.de
Sat Mar 31 04:47:20 PST 2001


> > he and me (at #lfs) found that producing stripped binaries is as easy 
> > as just adding "-s" to LDFLAGS (or CFLAGS).
> 
> Bad bad bad. "-s" creates binaries with no symbols, the libs don't work that
> way. Try LDFLAGS="-Wl,-S". That will create binaries without debugging symbols.

even "-Wl,-S" causes compilation of ncurses to fail, so i guess, 
if the package includes dynamic libs, there is no workaround for
removing -g. packages which create executables only, such as sh-utils,
can be compiled with -s (just as well as you can "strip -s /bin/*").


thanks for your help,
rudolf

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list