Why link C with crtstuff? [patch]

Sergei Ivanov svivanov@pdmi.ras.ru
Sun Apr 26 17:15:00 GMT 1998


> > > 
> > > The patch is wrong. Please try this patch.
> > > 
> > Thanks. It works for all my primitive tests except one.
> > I have a shared library compiled by gcc-2.8.1 (libvga-1.2.13, but this
> > should not be important):
> > 
> 
> Please try this one. BTW, it will only works on systems with crtbeginS.o
> and crtendS.o.

It fails to apply to Makefile.in

> diff -u -r1.1.1.33 Makefile.in
> --- Makefile.in	1998/04/26 16:06:39	1.1.1.33
> +++ Makefile.in	1998/04/26 20:46:39
>  s-crtS: crtstuff.c $(GCC_PASSES) $(CONFIG_H) \

No @@ here, patch (2.4) just skips this.
Also, it seems to be against a snapshot (there is no s-crtS in 1.0.2).
Is it against the latest one?

Sergei



More information about the Gcc mailing list