Bernd Blaauw wrote:


What compiler and what language for the edlin-2.2 binary?

OpenWatcom, I suppose, otherwise it won't work on 8086 (MS EDLIN is older than MS EDIT).
I'll search for some clear instructions in your source package.
Otherwise, please instruct me, i'm pretty new to compiling stuff and only a thing like the kernel is very automated.


The only real source files that would need to be modified are msgs.h (obviously, for the languages) and config.h, which gets overwritten by the ./configure script.

BTW, my reference compiler is gcc/cygwin, but I also use MS Visual C/C++ and OpenWatcom. OpenWatcom and gcc/cygwin are free, and the traditional ./configure;make;make install works nicely with gcc/cygwin. ;-)


gcc/cygwin is the same as MSYS / MINGW ?

confusing, all those compilers, linkers, languages and platforms.

Bernd

They're similar (both ports of gcc). I don't know if the ./configure script can detect mingw, but it should be able to.


Cygwin is a port of the gcc/bash environment that runs under Windows using a DLL emulator. It's useful for porting Unix/Linux programs to Windows.

Anyway, under cygwin, what the ./configure script does is produce a config.h file with various #defines #defined and a Makefile from Makefile.in. The make program compiles and builds everything and then make install puts the executable into /usr/local/bin. The Makefile has a few other neat targets in it such as distdir (makes a distribution directory), dist (makes a distribution tarball edlin-2.2.tar.gz), and others. I use "make dist" to throw a distro together. Isn't automation fun?

BTW, I left in the .tgt files for OpenWatcom, so compiling with that shouldn't be hard.

Gregory Pietsch


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to