🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer.misc
Article #289

GCC in OS/2 and DOS...

#289
From: Fenris Wolf
Date: Fri, 26 Jan 1996 00:00
23 lines
1834 bytes
Hello,

I recently got OS/2 Warp, so I went looking for a compiler and lo and 
behold I found that there wasa gccc port for OS/2. Now, looking at the 
EMX/GCC stuff, it appears that it compiles to .o, libs are .a, just like 
in the DJGPP DOS version of gcc.

Now, my question is this: Can I have OS/2 EMX/GCC stuff, and then just 
add the DJGPP DOS ld (and perhaps a few of the libraries) to be able to 
compile for DOS, rather than having two hole gcc's sitting on my hard 
drive? And assuming that I don't use and operating system specific calls 
in a .o file (or .a), can it  be used by either the EMX gcc or the DJGPP 
gcc? How interoperable/interchangeable are the two compilers?

(If you could email me any responses, I'd appreciate it, I'm not always 
capable of keeping up with newsgroups.)

Thanks in advance,

--
Fenris Wolf
http://www.ionline.net/~cory/index.html
aka Fenris/Bytor on IRC (The Undernet, #canada)
Technical Details
Message-ID: <4e9vcs$cpc_001@ppp36.ionline.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,c95324b958286b1d,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1049cc,c95324b958286b1d,start
X-Google-Attributes: gid1049cc,public
X-Google-Thread: f97d0,c95324b958286b1d,start
X-Google-Attributes: gidf97d0,public
X-Google-Thread: 11307a,c95324b958286b1d,start
X-Google-Attributes: gid11307a,public
X-Google-Thread: f65d0,c95324b958286b1d,start
X-Google-Attributes: gidf65d0,public
X-Google-Thread: 10ba33,c95324b958286b1d,start
X-Google-Attributes: gid10ba33,public
From: cory@ionline.net (Fenris Wolf)
Subject: GCC in OS/2 and DOS...
Date: 1996/01/26
Message-ID: <4e9vcs$cpc_001@ppp36.ionline.net>
X-Deja-AN: 136540937
organization: Wolf in the Fold
nntp-posting-user: cory
newsgroups: comp.os.os2.programmer.misc,comp.os.os2.programmer.tools,gnu.gcc,gnu.gcc.help,gnu.g++,gnu.g++.help