www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/09/26/07:28:20

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <3BB1BBC5.2070004@sendmail.ru>
Date: Wed, 26 Sep 2001 11:28:05 +0000
From: Ildar Mulyukov <ildar AT sendmail DOT ru>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20010913
X-Accept-Language: ru, tt, en-us
MIME-Version: 1.0
To: Adam Fedor <fedor AT doc DOT com>
CC: cygwin-apps AT cygwin DOT com
Subject: Re: Objective-C and Cygwin (at WIN32)
References: <3BA99E49 DOT 70006 AT sendmail DOT ru> <3BB08D8F DOT 6000306 AT sendmail DOT ru> <redirect-226277 AT mail DOT agtel DOT net>

        Hello, Adam!
        Hello, Cygwin hackers!

Adam Fedor wrote:

> 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.

You are right - it doesn't work. But the gnustep's libobjc either!
In fact I had to add some lines into libobjc.def just to get 
gnustep-base copiled. This particular ones:

        objc_condition_allocate
        objc_condition_deallocate
        objc_condition_wait
        objc_condition_broadcast
        objc_set_thread_callback
        __objc_msg_forward

But for both libs (std GCC's and GNUstep's) I obtain error like this:

    m.AllocationBase 0x614C0000, m.BaseAddress 0x614E0000, m.RegionSize
    0xFD000, m.State 0x1000
    d:\Temp\doc\objc\test\shared_obj\ix86\cygwin\gnu-gnu-gnu\Test.exe:
    *** Couldn't reserve space for cygwin's heap (0x614E0000 <0x470000>)
    in child, Win32 error 6

search through cygwin malinglists didn't clarify the problem :-(
Any ideas?
            Thanx, Ildar.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019