Mail Archives: djgpp/1994/10/20/06:33:50
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
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|
+----------------------------------------------------------------------------+
- Raw text -