Use of libobjc from gcc 4.1 with MinGW

2007-03-21 Thread Xavier Glattard
Hi I found out how to compile gnustep-base with the gcc4.1 objc library (not the gnustep one). I can now enable native exceptions :-) I had to change one line in objc-decls.h : - #if defined (_WIN32) || defined (__WIN32__) || defined (WIN32) + #if !defined(__MINGW32__) defined (_WIN32) ||

Re: Use of libobjc from gcc 4.1 with MinGW

2007-03-21 Thread Andrew Pinski
On 3/21/07, Xavier Glattard [EMAIL PROTECTED] wrote: Without the change i got : So these names are not exported properly. I dont know why but mingw32 seems to be special... :-\ Is libobjc being compiled as a static library? I bet that is the real issue here. -- Pinski

Re: Use of libobjc from gcc 4.1 with MinGW

2007-03-21 Thread Xavier Glattard
Andrew Pinski pinskia at gmail.com writes: On 3/21/07, Xavier Glattard xavier.glattard at online.fr wrote: Without the change i got : So these names are not exported properly. I dont know why but mingw32 seems to be special... :-\ Is libobjc being compiled as a static library? I bet

Re: Use of libobjc from gcc 4.1 with MinGW

2007-03-21 Thread Xavier Glattard
Xavier Glattard xavier.glattard at online.fr writes: I found out how to compile gnustep-base with the gcc4.1 objc library (not the gnustep one). I can now enable native exceptions I had to change one line in objc-decls.h : - #if defined (_WIN32) || defined (__WIN32__) || defined (WIN32)

Re: Use of libobjc from gcc 4.1 with MinGW

2007-03-21 Thread Andrew Pinski
On 3/21/07, Xavier Glattard [EMAIL PROTECTED] wrote: Do you mean i would get the same error with a static gnustep-libobjc ? Yes. Should I build gcc-libobjc as a dll ? libobjc should be built as a dll, now how to fix this is a different story. Since I don't have much expence in building

Re: Use of libobjc from gcc 4.1 with MinGW

2007-03-21 Thread Helge Hess
On Mar 21, 2007, at 17:52, Xavier Glattard wrote: Why the hell should libobjc be build as a dll ;-) Don't know whether this was really a joke ;-) Anyways, its *very* important that libobjc is built as a DLL if you build any other ObjC library/framework/bundle as a shared object.

Fwd: NSMatrix, NSCell, NSBrowser,NSBrowserCell proposed patch

2007-03-21 Thread Sergii Stoian
Hi, I want to propose changes to gui-trunk (patch attached). In general changes are touches NSMattrix and NSCell and is about drawing first reponder indicator (dotted frame). What is done: - NSCell is responsible for showing first responder state; - Removed code from NSMatrix which sets

RE: Fwd: NSMatrix, NSCell, NSBrowser,NSBrowserCell proposed patch

2007-03-21 Thread Nicola Pero
Hi, I want to propose changes to gui-trunk (patch attached). In general changes are touches NSMattrix and NSCell and is about drawing first reponder indicator (dotted frame). What is done: - NSCell is responsible for showing first responder state; - Removed code from NSMatrix which sets

Re: Fwd: NSMatrix, NSCell, NSBrowser,NSBrowserCell proposed patch

2007-03-21 Thread Sergii Stoian
Hi. Nicola On 3/22/07, Nicola Pero [EMAIL PROTECTED] wrote: Hi, I want to propose changes to gui-trunk (patch attached). In general changes are touches NSMattrix and NSCell and is about drawing first reponder indicator (dotted frame). What is done: - NSCell is responsible for showing first