[wx-os2pm] Re: [wx-dev] is gcc 2.8 still used for OS/2?

7 views
Skip to first unread message

Dave Parsons

unread,
Mar 28, 2008, 3:03:01 AM3/28/08
to wx-...@lists.wxwidgets.org, wx-os2 list, wx-os2pm
On Thu, 27 Mar 2008 16:46:07 +0100, Vadim Zeitlin wrote:

> Hi,
>
> A comment in include/wx/scopeguard.h says that we can't use the namespaces
> because they're not supported by g++ 2.8 which is used for OS/2. Is this
> still true or can we finally clean up this code (in the trunk)?

I don't use gcc-2.8.1 for wx any longer, so I have no objections.

I've copied this reply to both OS/2 lists in case anyone else still
needs this.

Cheers,
Dave


Paul Smedley

unread,
Mar 28, 2008, 3:59:39 AM3/28/08
to Dave Parsons, wx-o...@lists.wxwidgets.org
Hi Guys,

I use only GCC 3.3.5 :)

Cheers,

Paul.

Stefa...@t-online.de

unread,
Mar 28, 2008, 7:53:57 AM3/28/08
to wx-o...@lists.wxwidgets.org
Hi,

> > I've copied this reply to both OS/2 lists in case anyone else still
> > needs this.
>
> I use only GCC 3.3.5 :)

Which doesn't work for the X11 based ports of wx to OS/2 (which still work
a quite a bit better than the native port) . But even for those, there is
gcc-3.2.1 that should be usable.

Also, I wonder if it would be possible to point gcc-3.3.5 to the include and
libraries of gcc-2.8.1 to use the old (X11-compatible) EMX libraries with the
new compiler...

Regards,
Stefan


Dave Yeo

unread,
Mar 28, 2008, 11:57:16 AM3/28/08
to wx-o...@lists.wxwidgets.org
On 03/28/08 04:53 am, Stefa...@t-online.de wrote:
> Hi,
>
>>> I've copied this reply to both OS/2 lists in case anyone else still
>>> needs this.
>>
>> I use only GCC 3.3.5 :)
>
> Which doesn't work for the X11 based ports of wx to OS/2 (which still work
> a quite a bit better than the native port) . But even for those, there is
> gcc-3.2.1 that should be usable.

Really for X11 you should use 3.0.3 as that is what X11 was compiled with.
Also note that the EMX headers are getting really long in the tooth,
missing many modern includes.

>
> Also, I wonder if it would be possible to point gcc-3.3.5 to the include and
> libraries of gcc-2.8.1 to use the old (X11-compatible) EMX libraries with the
> new compiler...
>

I'm pretty sure this is not doable.
What I have done is compiled the X11 dlls with gcc-3.3.5 and then by
using libpathstrict and beginlibpath and using tcpip to communicate to
the Xserver most things work. To use tcpip instead of pipes you need to
use something like -display 127.0.0.1:0 instead of -display :0
Haven't tested wx though
Dave

Reply all
Reply to author
Forward
0 new messages