Malcolm McLean wrote:
Life goes on it's merry way independedent of Usenet and programming, and
I can now sleep at my own house once more, and I dusted off a Windows
machine which had been laid up for four years. And of course I wanted to simply compile the flood fill code and run some quick tests.
And what a nightmare. The whole evening getting the machine back in the
land of the living. What should be routine - compile an ANSI C program
which calls the standard library, is just not made routine. 3GB of
components had to be downloaded, and a runtime library obtained and downloaded specially. Then the project setting need fiddling with in unexpected and not very obvious ways.
Utter, utter unacceptable chaos and difficulty and hurdles. Considering
that 4 years ago it was set up to compile a C program.
so call it a blota/sh*t etc as i would probably do and dlownload mingw
(to c:\MinGw)
then write a compile.bat with such
set PATH=c:\mingw\bin;
g++ program.c -Wl,--subsystem,windows -lgdi32 -o lore.exe -w -s
-O2 -fmerge-all-constants -fno-rtti -fno-threadsafe-statics -L. -l"green.fire" -lwinmm
pause
create program.c file (with total commander ofcourse and your favorite
editor) ..then run compile.bat (by pressing enter in toital commanedr)
to compile, ..run lore.exe to run
very conveniant environment on windows
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)