Mail Archives: djgpp/2000/01/05/07:16:49
On 4 Jan 2000, Mumit Khan wrote:
> A Mingw user just asked me about protoize for Mingw, and turns out that
> it just doesn't work (mostly handling pathnames, and some text vs binary
> issues). He also mentioned that he'd originally tried djgpp and it
> doesn't work there either, which makes sense now that I've taken a
> closer look.
I once ported protoize (from GCC 2.6.x, I think) to DJGPP. It was highly
non-trivial.
Apart of the problems you mention, there are also issues with finding the
system headers (to generate the syscalls.X file). This required run-time
computation of file names which the original source--traditionally--so
compiles into the binary as a fixed string.
> I have fixes against 2.95.2 that should make it work under DJGPP, but
> it may require a few tweaks (such as __DJGPP__ in addition to whatever
> macros I'm using currently). Email if interested.
Thanks. Please send the diffs to djgpp-workers AT delorie DOT com.
Does the fixed version build out of the box if you add protoize to the
list of languages when you build GCC?
- Raw text -