TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Luther
from: Bob Jones
date: 2003-07-31 18:47:52
subject: EMX / GCC configuration issues

ML>  REM ** These are required for EMX development for 
 ML> compilation other than C:

Ok, if you say so....

 ML>  SET C_INCLUDE_PATH=c:/emx/emx/include
 ML>  SET LIBRARY_PATH=c:/emx/emx/lib;D:\JAVA131\LIB;
 ML>  REM ** To compile C++ programs set CPLUS_INCLUDE_PATH as well
 ML>  SET CPLUS_INCLUDE_PATH=c:/emx/emx/include/cpp;c:/emx/include

These three set's are in the \emx\bin\setgcc.cmd command file, I think with
the proper location set by the script that made the file.  [See my previous
edits for this file.]  Location of things within \emx tree are different...

 ML>  REM ** The genclass utility needs the following environment variable
 ML>  SET PROTODIR=c:/emx/emx/include/cpp/gen

I don't see PROTODIR defined in either config.sys or setgcc.cmd.

 ML>  REM ** To compile programs written in the Objective C language
 ML>  REM ** set OBJC_INCLUDE_PATH as well
 ML>  SET OBJC_INCLUDE_PATH=c:/emx/emx/include

I don't see OBJC_INCLUDE_PATH defined in either config.sys or setgcc.cmd. 
Probably not tested by most folks.  [I might test it due to my background /
experience with NeXTStep....]

 ML>  REM ** To keep GCC in memory for 5 minutes use
 ML>  REM ** SET GCCLOAD=5
 ML>  REM ** To make GCC use pipes instead of temporary files under OS/2 use
 ML>  REM ** SET GCCOPT=-pipe

These two are set as above in \emx\bin\setgcc.cmd.

 ML>  REM ** To use The GNU debugger and GNU info browser set TERM and TERMCAP
 ML>  SET TERM=mono

The default TERM set in \emx\bin\setgcc.cmd is different....

 ML>  SET TERMCAP=c:/emx/etc/termcap.dat

This is set in \emx\bin\setgcc.cmd.

 ML>  REM ** Set the INFOPATH environment variable for info
 ML>  SET INFOPATH=c:/emx/emx/info

INFOPATH is set in \emx\bin\setgcc.cmd.


Enjoy.....

Bob Jones, 1:343/41


--- Maximus/2 3.01
* Origin: Top Hat 2 BBS (1:343/41)
SEEN-BY: 633/267 270
@PATH: 343/41 10/345 106/1 2000 633/267

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™.