How to change '%D' (from specs file)

Frank Cusack fcusack@fcusack.com
Sun Dec 28 00:21:00 GMT 2003


On Sat, Dec 27, 2003 at 10:58:23AM -0800, Frank Cusack wrote:
> on sparc-sun-solaris2.9 and %D is (apparently)
> 
> -L/usr/pkg/lib/gcc-lib/sparc-sun-solaris2.9/3.2.2 -L/usr/ccs/bin
> -L/usr/ccs/lib -L/usr/pkg/lib/gcc-lib/sparc-sun-solaris2.9/3.2.2/../../..
...
> %D comes in for link_libgcc.  So IMHO /usr/ccs/* shouldn't be there, and
> the last bit finds /usr/pkg/lib which is messing up for shared libraries

Ahh, nevermind.  The shared libgcc needs to be in a "public" directory.
So this definition of %D is just fine; my problem lies elsewhere ...

/fc



More information about the Gcc-help mailing list