Objective-C and Cygwin (at WIN32)

Adam Fedor fedor@doc.com
Tue Sep 25 08:18:00 GMT 2001


Ildar Mulyukov wrote:

>

> Then I got another problem. I downloaded a gcc-3.0.1 (very hasty 
> decision) and seems like libobjc can't be compiled in a DLL form :-( The 
> libobjc version from http://gnustep.org site ( 
> ftp://ftp.gnustep.org/pub/gnustep/libs/gnustep-objc-1.0.1.tar.gz ) looks 
> like for 2.xx versions of GCC only.
> 


No it's not. In fact you need to use gnustep-objc on Cygwin/MinGW 
machines even if you have gcc 3.x, because the libobjc library in 3.x 
doesn't properly export symbols for DLLs



> Ok. I got "config" dir and GNUMakefile from gnustep-objc-1.0.1.tar.gz 
> (above) into "libobjc" dir from GCC ditro.
> Then added NXConstStr.m into GNUMakefile
> and - viola! compiled objc.dll. It seems to work. Let's see what next :-)
> 

It probably won't work, even though it compiles. See above.



-- 
Adam Fedor, Digital Optics            | Fudd's law of opposition: Push
fedor@doc.com  http://www.doc.com     | something hard enough, and it
fedor@gnu.org  http://www.gnustep.org | will fall over.



More information about the Cygwin-apps mailing list