Subject: Re: Objective-C with gcc(version 2.6.0) problems To: os AT resy2 DOT kfk DOT de (oliver schule) Date: Thu, 20 Oct 1994 14:09:45 +0100 (MET) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (user alias) From: Christoph Kukulies Reply-To: Christoph Kukulies > > Hello, > > I started to try compiling Objective-C programs with my gnu cc > implementation (djgpp 1.12, gcc 2.6.0 on a 486 under MS-DOS). > > A very short program, with You gotta include at least: #include > > main() > { > [Object alloc] ; > } > > generated (using gcc main.m -o main -lobjc) errors telling me > > Undefined symbol "global constructors keyed to main" referenced > > There was a similar question a few days ago concerning the linux > implementation of Objective-C in the news. It was mentioned, that the old > version of gcc (2.5.8) does not have this problem. > > Also I could not compile the sample program of the news faq. > > Could anybody out there give me some advice. > > Thanks in advance > > Oliver > > +----------------------------------------------------------------------------+ > |Dipl. Math. Oliver Schuele | | > |Kernforschungszentrum Karlsruhe | Internet os AT resy2 DOT kfk DOT de | > |Institut fuer Neutronenphysik und Reaktortechnik | Phone +49 7247 82 4691| > |P.O. Box 3640 76021 Karlsruhe Germany | FAX +49 7247 82 5508| > +----------------------------------------------------------------------------+ > --Chris Christoph P. U. Kukulies kuku AT acds DOT physik DOT rwth-aachen DOT de FreeBSD 2.0.0 (Development) #0: Tue Oct 11 22:00:50 1994 root AT mvx1b1:/usr/src/sys/compile/JAZZ