SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-Programming Mailing List Archives

Return to [ 01 | February | 2003 ]

<< Previous Message << >> Next Message >>


Date: Sat, 1 Feb 2003 16:42:57 PST8
From: "Robert Blair" <blairra@tstonramp.com >
Reply-To: scoug-programming@scoug.com
To: scoug-programming@scoug.com
Subject: SCOUG-Programming: February SIG meeting

** Reply to message from "Lynn H. Maxson" on Sat, 1 Feb
2003 14:42:17 PST8

Hi, Lynn. At the last gapfest at Frantione's I changed from my usual pizza to
spaghetti, I should not have done that. The next day I was in the hospital
with gall stones, they removed the stones (and the gall bladder) Thursday. I
am about back to normal just a few new aches and pains.

> I backed off of that, switching over to install the GCC/EMX
> system on the SCOUG CD. It's interesting when your
> instructions for properly unzipping and laying out the directory
> structure consolidating much of the components ends up as
> part of the zipped data. After a bit of XCOPYing I managed to
> get most of it into a consolidated EMX directory. Then I set
> about reading the install.doc making what I think are the
> needed changes to config.sys. I've rebooted. It at least now
> recognizes gcc as an executable.

Here is what I documented for the SCOUG presentation but did not use because we
did not do the install.

Install EMX and the GNU compiler

To install the EMX run time support.

Put the file emxrt.zip in the root directory of the drive where you want to
install the EMX runtime then unzip it (make sure that the unzip program creates
the directories while doing the unzip). In the config.sys add emx\dl to the
libpath statement and add emx\bin to the path statement.

To install the emx GNU compiler.

Put the following files in the root directory of the drive where you want to
install the compiler and its libraries then unzip them (make sure that the
unzip program creates the directories while while doing the unzip).

NOTE: this can be the same drive where the runtime was installed but if it is
not the emx\bin needs to also be added to the path statement.

emxdev1.zip
emxdev2.zip
gnudev1.zip
gnudev2.zip
gnuview.zip

This should have created the following directory tree.
emx\bin
emx\book
emx\dll
emx\doc
emx\gnu\doc\bounds
emx\include
emx\include\gnu
emx\include\sys
emx\include\emx
emx\include\386
emx\lib
emx\lib\mt
emx\lib\st
emx\texinput
emx\el
emx\help
emx\etc

Build the EMX libraries

After everything has been unziped open a command prompt and switch to emx\lib
and run the omflibs command.

Install the GNU make utility

In a TEMP folder unzip gnumake.zip.
Copy the file make-os2.exe to emx\bin

Install the utility to compress EXE files

This utility is not necessarily needed but is included because makefile of the
HPcalc program uses it to compress the EXE file. In a TEMP folder unzip
lxlt132.zip. In the lxLite directory (if the unzip program created
sub-directories) that was just created copy lxLite.exe and lxLite.cfg to the
emx\bin directory.

Check to see if a link program is installed

Check to see if link386 is in the \OS2 directory. If it is not installed run
selective install and install the link program, it is listed under the Optional
System Utilities. If you have installed ILINK and want to use it instead of
link386 put the following SET command in config.sys

set emxomfld_linker=c:\ibmcpp\bin\ilink.exe -nofree

Add environment variables used by the GNU compiler

Put the following SET comands in the config.sys so the GNU libraries can be
located.

set C_INCLUDE_PATH=u:/emx/include
set LIBRARY_PATH=u:/emx/lib

where u is replaced with the drive letter where the GNU libraries are installed.

On my system the only thing I put into the config.sys was the runtime DLL
library. Whenever I want to compile I open a command prompt window execute the
following command file and then use make to do any compiles. The keeps a lot
of junk out of the config.sys that does not need to be there.

/* REXX setemx.cmd --- initialize the system to run the GNU compiler */
'set BEGINLIBPATH=u:/emx/dll'
pathstmt = value( 'PATH', 'u:\emx\bin\;' || value( 'PATH', , "OS2ENVIRONMENT"
), "OS2ENVIRONMENT" )
/* the following is only needed if you are NOT compiling on the same drive that
EMX GNU compiler was installed on */
/* it will not cause a problem if these are always used */
c_include = value( 'C_INCLUDE_PATH', 'u:/emx/include', "OS2ENVIRONMENT" )
library_path = value( 'LIBRARY_PATH', 'u:/emx/lib', "OS2ENVIRONMENT" )
exit

--
Robert Blair

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".

For problems, contact the list owner at
"rollin@scoug.com".

=====================================================


<< Previous Message << >> Next Message >>

Return to [ 01 | February | 2003 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.