[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lots of packages with unneeded dependencies.



On Sun, Oct 25, 1998 at 03:23:50PM -0500, Avery Pennarun wrote:
> -nostdlib disables libgcc.a also.  I can specify the full path to libgcc.a,
> but that's totally ugly.  Is there a gcc-version-independent way to say I
> want libc, libgcc.a, and not libstdc++?
> 
> I'm building an embedded application (weaver) where every byte counts.  I
> don't want to be forcibly dynamically linked with a shared library I don't
> use.

Try `g++ --print-libgcc-file-name`.

Dan


Reply to: