Hi Robert, Bernd,

> > - cannot compile anything later than 2.01.01a11 (very latest is
> > 2.01.01a38). Either makefile broke or something else?
>
> "cannot compile" is a very bad error description.
> Please reveal more details!

Indeed. You may have to set your screen to show more lines or
use RERROR or similar tools to redirect stderr to actually
see all error messages, but even if you reveal the last error
message which has not scrolled away, it still helps...

You can also try to make a minimal diff between 2.01.01a11
and 2.01.01a12 to find out how they broke DJGPP compatibility.

> > - no idea how to speciy i386 (dos/djgpp) as target for maximum
> > compatibility. Currently ending up with "pc-i786-ms-dos-djgpp"

I guess the SMAKE based CDRECORD build process might try to
automatically select CPU optimizations based on the CPU you
have at that moment. Using older DJGPP will limit this a bit.
Or you could try to block the CPU type detect/optimize step.

> > - ending up with COFF exe file requiring CWSDPMI EXE as a
> > separate program

No problem. Most DJGPP made exe files need CWSDPMI, so you
should simply put CWSDPMI to a directory in your PATH.

If you "stubify" all DJGPP made exes (so they have CWSDPMI
embedded) you just eat more disk space IMHO. Note that the
FreeDOS 1.0 distro does not contain a real CWSDPMI. Instead,
somebody added a HDPMI (HXRT related) and renamed it :-p.

Should still usually work but it certainly is bad style not
to have documented this tweak even if HDPMI sometimes even
works better than the original CWSDPMI...

> > - binary's disk size is huge, any way to reduce?

You can tell DJGPP to "strip" the binary (option -s at the
linker step) and you can indeed use UPX to compress the exe.

Still DJGPP typically creates quite big exe files, probably
because of the big and not very modular C library it uses.

If you see a much smaller DJGPP made CDRECORD somewhere,
it probably got compiled with a much older DJGPP (or maybe
a much newer one, but unlikely ;-)).

Eric



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to