Re: forget about my patches for GCC 2.6.1 under VSTa.

From: Rob Savoye <rob_at_nospam.org>
Date: Thu Nov 10 1994 - 12:37:52 PST

       From: Basile STARYNKEVITCH <basile@soleil.serma.cea.fr>
       Subject: Re: forget about my patches for GCC 2.6.1 under VSTa.

> I'm cross-compiling with gcc2.6.1 (on host SunOS5.3, with native
> gcc2.6.1) First, all of libobjc fails, because of repeated size_t
> conflicts
>
> # example of size_t error

  Hum, I haven't tried it with obj, or on Solaris. I did my last set of tests
in HP-UX, and it worked fine. I'm getting a Solaris machine within the next
few weeks (ug...) but I can try on one of our machines out here.

> __main.o(.text+0x74): multiple definition of `__main'
> /netdisk/rigel.2/basile/xvsta/i386-vsta/lib/crt0.o(.text+0x49): first defined here
> _exit.o(.text+0xd): undefined reference to `_cleanup'
> make: *** [cross-test] Error 1

  This is a library problem. __main is thrown in by GCC for C++ support. (it
comes from libgcc) You cna stub it out "__main(){}" if you don't intend to
ever run G++, but it exist mostly to setup constructer/destructer tables. It
should have worked, thank for finding it!

  _cleanup is the same basic problem. It can be stubbed out, but for C++
support it needs to work. I don't know if anyone is doing C++ on VSTa, but
it'd be nice if they could if they wanted.

        - rob -
Received on Thu Nov 10 12:16:53 1994

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 15:12:10 PDT