Sleep well; OS/2's still awake! ;)
I wonder on how this compares or contrasts to your 'test' install?
My test install of GCC 3.2.1 (from the GCC321.zip
file) did *not* modify config.sys..... :| . So, EMX
still works, but the paths aren't in there to allow
GCC (and related utilities) to run....
Sleep well; OS/2's still awake! ;)
My test install of GCC 3.2.1 (from the GCC321.zip
file) did *not* modify config.sys..... :| . So, EMX
still works, but the paths aren't in there to allow
GCC (and related utilities) to run....
But where did it put the required items for GCC? Did
it put them in the #:\emx diretory? That's what I
sort of gleaned from reading the readme1st text file
was going to happen.
OK, that being so, I suppose it would modify-overwrite-
update whatever was in the EMX directory to the latest
and greatest, together with adding whatever down-drill
it needed for the GCC321 variant to work.
That being so, does what I posted also still have to be
in the CONFIG.SYS file in order to get things going?
Or, conversely, in this implementation of GCC, does the
application suite teach itself where the EMX stuff is,
and .. in your case and mine ... if we install GCC in
other than C:, we will get a non-functional operation
related to EMX?
If that's true, we are right back to your original
question about how do we move this off C:, yet keep
C:\emx, so as to not mung everything else that depends
on it, no?
REM ** These are required for EMX development for
compilation other than C:
SET C_INCLUDE_PATH=c:/emx/emx/include
SET LIBRARY_PATH=c:/emx/emx/lib;D:\JAVA131\LIB;
REM ** To compile C++ programs set CPLUS_INCLUDE_PATH as well
SET CPLUS_INCLUDE_PATH=c:/emx/emx/include/cpp;c:/emx/include
REM ** The genclass utility needs the following environment variable
SET PROTODIR=c:/emx/emx/include/cpp/gen
REM ** To compile programs written in the Objective C language
REM ** set OBJC_INCLUDE_PATH as well
SET OBJC_INCLUDE_PATH=c:/emx/emx/include
REM ** To keep GCC in memory for 5 minutes use
REM ** SET GCCLOAD=5
REM ** To make GCC use pipes instead of temporary files under OS/2 use
REM ** SET GCCOPT=-pipe
REM ** To use The GNU debugger and GNU info browser set TERM and TERMCAP
SET TERM=mono
SET TERMCAP=c:/emx/etc/termcap.dat
REM ** Set the INFOPATH environment variable for info
SET INFOPATH=c:/emx/emx/info
My test install of GCC 3.2.1 (from the GCC321.zip
file) did *not* modify config.sys..... :| . So, EMX
still works, but the paths aren't in there to allow
GCC (and related utilities) to run....
GCC and EMX are all in the H:\emx directory tree. Binaries in \emx\bin, dlls in \emx\dll, etc. So, yes, GCC and EMX are bound
together. Since my EMX stuff on the boot partition
was only a runtime environment, I switched over to
using the \emx tree on the H: partition with out
problems. To use the EMX port of GCC you have to have
the full development EMX stuff installed.... So, it
may not be possible to seperate the EMX runtime code
from the compiler in this setup -- at least not
easily....
Please remember, once you load the EMX DLL's in
memory, it becomes "interesting" to replace them on a
running system. I "replaced" them by changing my
pointers in CONFIG.SYS to point to the new location
and the re-booted the system. Otherwise, you need to
make sure the EMX DLL's aren't loaded (or are properly
unloaded) before replacing them....
Let's seee.... Grep'ing my config.sys produces the
following related to EMX stuff: [Warning: MAJOR line
wrapping in following three lines!]
LIBPATH=C:\NETSCAPE\PROGRAM;C:\IBMLAN\NETLIB;C:\MUGLIB\ LL;.;C:\VT\SPCH_BIN;C
So, to get this compiler to work, you need LIBPATH, PATH and BOOKSHELF (for .inf files), updated. And I think you listed
some additional items that are also needed to have the
compiled code work properly. If you use curses, and
some other stuff, the TZ, TERM and some other
variables are looked at (at run time).... I've added
in the H:\EMX\MAKE path to the above LIBPATH and PATH
to allow Make and some unix like utilities to run....
Because I'm actually running off one large drive, I'll live with the EMX stuff moved to H:. If I want to back out the
compiler, I still have C:\EMX, so I can just re-point
stuff in config.sys....
Sleep well; OS/2's still awake! ;)
OK Bob ..
Following that, I renamed the second \emx directory
tree to \emxx and cleaned the .INI files plus rebooted.
Nothing noted. Last step was to trash the \emxx
Now ... that would, as it stands, when you folks over
in the MAX mash get things more organized; be where I
could work at learning the backwards game to video and
all for DOS, from working code! And eventually, for
maybe WIN-ugh in the reverse? And just MAYBE, it will
be in the compiler which has relevant value in the IBM
internal world as well?
Inquiring mind wants to know. ;)
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,028 |
Nodes: | 17 (0 / 17) |
Uptime: | 181:55:00 |
Calls: | 503,706 |
Calls today: | 9 |
Files: | 158,907 |
D/L today: |
14,583 files (4,678M bytes) |
Messages: | 444,353 |
Posted today: | 2 |