TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jonathan Markevich
from: Phil Crown
date: 1994-10-26 11:32:20
subject: GNU C


 JM> Hiya!  Anyone know how to get GNU C to RUN?  I finally got ahold
 JM> of the GNUDEV.ZIP, as not too many compiler options are rearing their
 JM> heads lately...  and dumped that all into a directory.  So I tried to

GNU should be archived with the directory structures included, so you have
to re-create them when you extract the archive.  Info-Zip's Unzip will do
this by default ("unzip " ) or if using PKUNZIP
then use the -d
switch.

Here's some of the files I've collected.  This is for emx .08h GNU C.

12-14-93  11:21p     23719           0  bsddev.zip
 8-27-92  11:39p     48096           0  bsddoc.zip
12-11-93   2:11a     79529           0  bsdsrc.zip
10-11-94  12:17a    957686           0  e25min.zip
12-12-93   9:19p     17433           0  EMXAMPLE.ZIP
12-15-93   4:50a    801785           0  EMXDEV.ZIP
 6-30-94  10:55p    621916           0  EMXFIX09.ZIP
12-13-93  10:13p    398515           0  EMXLIB.ZIP
 6-30-94  11:00p    156321           0  emxrt.zip
12-14-93  12:32a     83889           0  EMXTEST.ZIP
12-14-93  11:21p    244731           0  EMXVIEW.ZIP
 1-30-94   2:40a    538806           0  GCC258B1.ZIP
 1-30-94   2:41a   1074543           0  GCC258B2.ZIP
 1-30-94   5:04p     13444           0  GCC258P.ZIP
11-25-93  11:11p      1913           0  GCCFILES.TXT
12-14-93  11:02p   1076416           0  gnudev.zip
12-14-93  11:21p     22467           0  GNUVIEW.ZIP
12-14-93  11:10p    525222           0  gobjcdev.zip
12-15-93   4:48a   1040420           0  gppdev.zip
10-09-94   1:45p     13348           0  install.doc
 9-27-94   8:24p      9185           0  readme.doc
       23 file(s)    7749384 bytes used

install.doc and readme.doc describe the files needed and how to install
emx/gnu.  I got all of these files from the Hobbes CD Rom, I believe.

Then you have to set some environment variables in config.sys.  Here's part
of my config.sys, I was messing around with GCC/2 also, but they confilict
with the emx variables, so they are commented out for the moment.

REM ----------------------------------  Begin GCC2
REM SET GCC2=d:/c/gcc2
REM SET INCLUDE=d:/c/gcc2/os2incl;d:/c/emx/include;d:/so/dos
REM SET TMPDIR=d:c/gcc2/tmp
REM SET INFOPATH=d:/c/gcc2/info
REM SET LIBRARY_PATH=d:/c/gcc2/lib;d:/c/gcc2/lib/dynamic;d:/c/gcc2/lib/static
REM ----------------------------------  End GCC2
REM ----------------------------------  Begin GCC/EMX
SET C_INCLUDE_PATH=d:/c/emx/include;d:/so/os2/src;../p/src
SET CPLUS_INCLUDE_PATH=d:/c/emx/include.cpp;d:/emx/include
SET OBJC_INCLUDE_PATH=d:/c/emx/include.cpp;d:/c/emx/include;
SET LIBRARY_PATH=d:/c/emx/lib;
SET PROTODIR=d:/c/emx/include.cpp/gen
SET TMPDIR=d:/tmp
SET TERM=mono
SET TERMCAP=d:/c/emx/etc/termcap.dat
SET EMXBOOK=emxdev.inf+libref.inf+gnudev.inf+bsddev.inf
SET HELPNDX=emxbook.ndx
SET GCCOPT=-Zc++-comments -v
REM SET GCCLOAD=1
REM ---------------------------------- End GCC/EMX
REM ---------------------------------- GCC2 libpath/path
REM LIBPATH=.;D:\OS2\DLL;D:\OS2\MDOS;D:\;D:\OS2\APPS\DLL;D:\BBS;D:\C\GCC2\DLL
REM SET
PATH=D:\OS2;D:\OS2\SYSTEM;D:\OS2\INSTALL;D:\;D:\OS2\MDOS;D:\CMD;D:\UT\OS2;D:\C\GCC2\BIN;
REM ---------------------------------- emx/gcc 0.8h libpath/path
LIBPATH=.;D:\OS2\DLL;D:\OS2\MDOS;D:\;D:\OS2\APPS\DLL;D:\BBS;D:\C\EMX\DLL;
SET
PATH=D:\OS2;D:\OS2\SYSTEM;D:\OS2\INSTALL;D:\;D:\OS2\MDOS;D:\CMD;D:\UT\OS2;D:\C\EMX\BIN
REM ----------------------------------
SET BOOKSHELF=D:\OS2\BOOK;D:\APP\OS2\INF;D:\C\EMX\BOOK

After setting the environment variables reboot so they will take affect.

If you have any problems just ask. :-)

Phil


--- Blue Wave/Max v2.12 OS/2 [NR]

* Origin: * MacSavvy * Dallas * Mac * OS/2 * (214)250-4479 * (1:124/1208)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 124/1208 1111 1 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808 809
@PATH: 711/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™.