Article View: gnu.gcc.help
Article #50560Re: GCC 2.4.5 for OS/2
From: Marc Van-Woerkom
Date: Sat, 11 Sep 1993 23:20
Date: Sat, 11 Sep 1993 23:20
31 lines
1248 bytes
1248 bytes
al> GCC/EMX 2.4.5 for OS/2
al> I can not seem to get GCC to create a OS/2 exacutable.
al> Could someone give a simplified way of creating an OS/2 .EXE file.
Read emxdev.doc or view emxdev.inf for more information.
Here's a simple example for a C++ programm ...
hello.cc:
#include <iostream.h>
int main()
{
cout << "Hello, C++ World!\n";
return 0;
}
Compile and link it with
gcc -Zomf -Zsys hello.cc -o hello.exe -lgpp -s
The warning L4071 from link386 can be ignored. (Supply a *.def to suppress it)
Bye, Marc
Technical Details
Message-ID:
<A20883@AC3.maus.de>Path:
arc1-ca.pugleaf.net!gmd.de!rrz.uni-koeln.de!teralon!k.maus.de!ac3.maus.de!Marc_Van-WoerkomReferences:
<A57138@K.maus.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f01673dd4a2e7df6,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-09-13 23:53:07 PST Path: arc1-ca.pugleaf.net!gmd.de!rrz.uni-koeln.de!teralon!k.maus.de!ac3.maus.de!Marc_Van-Woerkom From: Marc_Van-Woerkom@ac3.maus.de (Marc Van-Woerkom) Newsgroups: gnu.gcc.help Subject: Re: GCC 2.4.5 for OS/2 Message-ID: <A20883@AC3.maus.de> Date: Sat, 11 Sep 93 23:20:00 GMT References: <A57138@K.maus.de> Organization: MausNet (Mitglied im IN e.V.) Lines: 31 X-Gateway: MausGate/News 1.18/k MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit