| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | emx 0.9d |
On Thursday, 7 January 1999,
MARK LEWIS wrote to DAVID NOON about emx 0.9d
DN>> I presume you are still trying to build emx, rather than being
DN>> in a position to build Apache.
ML> actually, i as can tell, emx and gcc are already made... i was
ML> attempting to make dmake to test that... i have been back thru it
ML> more and i think i need header files from some toolkit??
Yes, you're right, emx/gcc is "already made" :)
And for that dmake stuff, why don't you just use the plain old GNU
make? If you slurped the whole zip from pub/incoming on Hobbes, you
already have it!
DN>> I don't use DMAKE, but all make utilities require a makefile
DN>> of some sort. Did you find the emx makefile?
ML> yes, i believe i have... i can post if if necessary ;-)
Don't get frightened by make files, they can be quite versatile
actually. I use a generic makefile I designed, so for every new
project of mine, I only have to modify not more than 5-6 lines in it
(and sometimes as little as one line, depending on the number of files
and libraries I use in the project), mostly editing some values of
variables. It does all the rest of the work, INCLUDING automatically
generating the dependencies for all the needed source files when new
header files are added or changed! Much faster than clicking your way
through dialog boxes to add the files to the project window in most
IDE's.
As for the editor, I DEFINITELY recommend FTE (free/GNU). You can find
it on Hobbes. It's simply a pleasure to grind C/C++ code in this
editor, and if you get it, please open some large C/C++ file in it,
and press Ctrl-I. You'll fall on your arse!
And when you need to compile the program(s) you're editing, just hit
Ctrl-F2 to save all the files you're currently editing, and than F9.
You can invoke make, gcc or whatever from inside the editor, and it
then captures the output from the compiler in a separate edit window,
and you can continue editing while the compiler crunches away in the
background! When the compiler is done, FTE parses it's output for any
potential errors/warnings (while you're still editing, it doesn't
freeze), and can position you to the lines which contain errors in your
source, at your command. Now how's THAT for an IDE? :)
ML> ml>>he'p me! he'p me! he'p me understand this stuff and what
ML> ml>>i'm doing wrong... supposedly i can use dmake to recompile
ML> ml>>itself... the DMAKE38 archive has dmake.exe that shows a
ML> ml>>emx0.9a text string in it as viewed with a hex editor... i
ML> ml>>wanted to test by recompiling an emx 0.9d version but that
ML> ml>>fails miserably... supposedly there's also a make.cmd file
ML> ml>>but i haven't found one that isn't hardcoded in it's
ML> ml>>actions...
If you wanna recompile dmake, you'll probably already have to have
some kind of make util on your system, presumably an earlier version
of dmake, or GNU make (which I'm sure you have). In the dmake source
directory there should be a file called "Makefile" which contains all
the instructions how to compile dmake, and this is the file that make
utilities first look at when invoked with no parameters. Or
alternatively, there may be a make.cmd in that directory, which
executes all the commands directly.
ML> oh yes... like i say above, i've actually compiled some few things
ML> with it but until i can get dmake or bake or something that works
ML> to make with, i'm kinda lost... i remember reading about bake when
ML> it came out... if it'll work with "normal" make files, maybe i'll
ML> try to bake everything instead of making them... i like cooking
ML> better than i do laboring anyway, hahaha...
Well YOU DON'T REALLY NEED DMAKE! Just go into the emx/samples
directory, and type "make" (to invoke GNU make you already have)!
It'll do the right thing, and all the examples will be made in one
sweep for you. And later, when you're seek of trying them out, you
just type "make clean" in the same dir, and all the executables and
objects files, indeed all the files which can be remade from the
sources will be gone, and the directory will be returned in its
original state.
Please look at the gnuinfo.zip file (if you haven't already unpacked
it) and see if you can set it up. The GNU info is the help system for
all that Unix stuff, and you'll find a DETAILED description of GNU make
along with a lot of stuff with examples in there...
- Ivan -
.!. Flame: drive-by shooting on the Information Superhighway.
--- Terminate 5.00/Pro [OS/2]
þ TerMail/QWK þ
* Origin: GET ALL YOUR FIDO HERE! telnet://bbs.docsplace.org (1:3603/140)SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252 SEEN-BY: 670/218 @PATH: 3603/140 396/1 633/260 635/506 728 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™.