Web lists-archives.com

DJGPP cross compiler crashes.




Hello everyone,
I would like to signal that the DJGPP cross compiler, included into
the available packages, crashes as soon as you try to compile
something with it.
To reproduce the problem, just create a simple source file with just
this line for simplicity:

int main() { return 0; }

and after calling:

i586-pc-msdosdjgpp-gcc c.c -o c.exe

you will get:

collect2: fatal error: ld terminated with signal 11 [Segmentation
fault], core dumped
compilation terminated.

I bypassed the problem by recompiling DJGPP cross compiler myself with
this utility:

https://github.com/andrewwutw/build-djgpp

however, I'm signaling the problem in case somebody would like to fix
the trouble with a working package.

Sincerely.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple