TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Tim McKay
from: Geoff Reynolds
date: 1994-12-19 12:23:16
subject: Trick with EMX/GCC

Hi Tim,

 TM> I was just wondering if there's a special trick for 
 TM> compiling some FUNCTIONING
 TM> C/CPP OS/2 PM Code, using EMX/GCC?

There is no trick, gcc does it all for you :-)

 TM> Sample.C        - Sample Source Code

[...]

 TM> What would be some command lines to make this generic code work.

gcc -o Sample.exe -Zomf Sample.c Sample.def
rc Sample.rc

If you have all the #includes in your source right, that will do it.

    - Geoff

--- Maximus/2 2.02
* Origin: Low Level, Auckland, New Zealand +64-9-814-8858 (3:772/555)
SEEN-BY: 12/2442 620/243 622/407 623/630 632/339 348 640/715 820 670/215
SEEN-BY: 690/347 660 700/31 711/409 410 413 430 807 808 809 934 942 949
SEEN-BY: 712/353 515 713/888 770/115 771/1320 772/1 20 135 140 207 350 380
SEEN-BY: 772/555 774/605 800/1
@PATH: 772/555 20 712/353 711/409 808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.