Lars Gullik Bjønnes wrote: >>> On Tue, Nov 04, 2003 at 09:37:35AM +0000, Angus Leeming wrote: >>>> So, use that script I posted that doesn't merge symbols when >>>> linking. Increases disk footprint but link times are... this >>>> quick. >>> >>> Didn't you want to incorporate that into the regualr build >>> machinery? >> > | Lars said, "no", if I understood him correctly. (Although at the > | time he said "no" I don't think he understood what it did.) > > but I did... (or I just think so...) > > but if you can implement this as a flag to configure > (--enable-fast-linking) and to not set this as default then I won't > object.
I think that it is simply a case of passing each object file to objcopy after gcc has created it. Can libtool handle this or is it best handled by a wrapper script? Eg g++_fast_link: #! /bin/sh OBJFILE=`extract_objfile_name_from_command_line_args` objcopy --set-section-flags .debug_str=contents,debug ${OBJFILE} -- Angus