delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/01/16:50:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Sender: patl AT egghead DOT curl DOT com
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: B20.1 "reloc table overflow" problem
References: <s5gr9qb4yyd DOT fsf AT egghead DOT curl DOT com>
From: patl AT curl DOT com (Patrick J. LoPresti)
Date: 01 Apr 1999 11:45:41 -0500
In-Reply-To: patl@cag.lcs.mit.edu's message of "26 Mar 1999 18:25:27 -0500"
Message-ID: <s5gzp4s47d6.fsf@egghead.curl.com>
Lines: 18
X-Mailer: Gnus v5.6.27/Emacs 20.3

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

======================================================================

#!/usr/bin/perl

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 cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019