This is the mail archive of the mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: B20.1 "reloc table overflow" problem

The following Perl script outputs a C program which Microsoft's tools
can compile but Cygwin cannot.  An error is generated by GNU as in all
the versions of Cygwin I have tried.

 - Pat



print "void *p0;\n";

foreach $i (0 .. 32767) {
    printf ("void *p%d = &p%d;", 2*$i+1, 2*$i);
    printf ("  void *p%d = &p%d;\n", 2*$i+2, 2*$i+1);

print "int main() {\n  return 0;\n}\n";

Want to unsubscribe from this list?
Send a message to