Re: Lots of packages with unneeded dependencies.
On Sun, Oct 25, 1998 at 07:43:44PM -0500, Avery Pennarun wrote:
> On Sun, Oct 25, 1998 at 05:04:33PM -0500, Dan Jacobowitz wrote:
>
> > 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`.
>
> Hey, thanks.
>
> Now I have a new problem: -nostdlib seems to disable the crt1.o (and
> friends) also. Any tricks for that?
>
> Thanks again.
Instead of trying to catch all these - what happens if you use
-nostdlib++ instead of -nostdlib?
Dan
Reply to: