bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: install make, libobjc, base on cygwin/mingw32


From: Michael Scheibler
Subject: Re: install make, libobjc, base on cygwin/mingw32
Date: Mon, 19 Feb 2001 09:12:54 +0100

I wrote an example program using objc and a highliy modified
gnustep-base 0.6.5, both linked as dll.
gcc got the options -lgnustep-base -lobjc for load-time linking of the
necessary shared libraries.

The result is:

error: NXConstantString (instance)
NXConstantString does not recognize copyWithZone:

abnormal program termination

Michael


Adam Fedor wrote:
> 
> Michael Scheibler wrote:
> >
> > In libobjc's makefile the file NXConstStr is commented out, because
> > gnustep-base provides its own implementation. But when make tries to
> > link libobjc as a DLL, it reports that there is an undefined reference
> > to NXConstantString - which is true, because there is no implementation
> > available.
> >
> > Michael
> 
> Adding:
> 
> ifeq ($(GNUSTEP_TARGET_OS), mingw32)
>   libobjc_OBJC_FILES += NXConstStr.m
> endif
> 
> seems to work fine.  I'll fix that and put out a new version soon.
> 
> --
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]