OS2 World.Com Forum

Subject  :  gcc os/2-emx source build
Author  :  GSValore
Date  :  07 Apr, 2005 on 21:53
Is there any known patches or other tips anyone could suggest for me to be able to build the sources for binutils, gcc, and emx to target os/2 from Linux (attempting a cross compiler). Currently the sources I'm trying to use are the ones released from Innotek and I have had nothing but complications due to different pieces of the code yelling about linux not having EMX and such.

Any advice, tips, or otherwise would be appreciated.


Subject  :  Re:gcc os/2-emx source build
Author  :  abwillis abwillis@comcast.net
Date  :  08 Apr, 2005 on 16:23
I am certainly no expert but wouldn't it be easier to point to libc than emx? I would look to the UnixOS2 list as the people that might be able to answer this question would be there. IIRC you can sign up for it at www.os2ports.com.
Andy

Subject  :  Re:gcc os/2-emx source build
Author  :  GSValore
Date  :  08 Apr, 2005 on 17:44

abwillis (08 Apr, 2005 16:23):
I am certainly no expert but wouldn't it be easier to point to libc than emx? I would look to the UnixOS2 list as the people that might be able to answer this question would be there. IIRC you can sign up for it at www.os2ports.com.
Andy

I just looked at that site, they still use emx. EMX is basically the libc. It's also designed so that it makes porting UNIX programs to OS/2 much easier because it provides a lot of the POSIX and other APIs that do not exist normally on OS/2. As far as I know, there is no version of gcc that points to any default libc on OS/2.


Subject  :  Re:gcc os/2-emx source build
Author  :  abwillis abwillis@comcast.net
Date  :  11 Apr, 2005 on 03:25

GSValore (08 Apr, 2005 17:44):

abwillis (08 Apr, 2005 16:23):
I am certainly no expert but wouldn't it be easier to point to libc than emx? I would look to the UnixOS2 list as the people that might be able to answer this question would be there. IIRC you can sign up for it at www.os2ports.com.
Andy

I just looked at that site, they still use emx. EMX is basically the libc. It's also designed so that it makes porting UNIX programs to OS/2 much easier because it provides a lot of the POSIX and other APIs that do not exist normally on OS/2. As far as I know, there is no version of gcc that points to any default libc on OS/2.


Innotek GCC uses libc vs. emx but I don't know if it would be any eaiser to use it than emx when compiling on *nix. I have ported from *nix to OS/2 but not on a *nix machine. If you send a message to the UnixOS2 list there may be someone on it that has.


Subject  :  Re:gcc os/2-emx source build
Author  :  GSValore
Date  :  13 Apr, 2005 on 06:18

abwillis (11 Apr, 2005 03:25):
Innotek GCC uses libc vs. emx but I don't know if it would be any eaiser to use it than emx when compiling on *nix. I have ported from *nix to OS/2 but not on a *nix machine. If you send a message to the UnixOS2 list there may be someone on it that has.

Actually if you download the runtime sources from Innotek it is emx... I downloaded the runtime, gcc, and binutils sources from their site and inside the runtime is nothing but the emx libraries (likely updated and a few changes) as well as utilities for emx. (e.g. emxbind, emxomf, etc)


Powered by UltraBoard 2000 <www.ub2k.com>