From: Fabio AT Colorado DOT EDU (Fabio Somenzi) Subject: Perl 5.004 1 Jun 1997 04:33:33 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199706011106.FAA12535.cygnus.gnu-win32@boulder.Colorado.EDU> Reply-To: Fabio AT Colorado DOT EDU X-Mailer: emacs 19.32.1 (via feedmail 5 I) Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com Has anyone managed to build perl5.004 from the sources on Win95 with b18? After a few hours of struggle, I have what seems to be a working perl.exe. However, I get a syntax error in compiling Fcntl.c, which is part of the module library. The syntax error is reported in op.h, but it seems to come from the inclusion of cw32imp.h, which is caused by the definition of DLLIMPORT. I followed the installation instructions, but that was not sufficient to build perl.exe. Specifically, I copied hints/cygwin32.sh to config.sh and ran "sh ./Configure -d." I had problems because gcc -print-file-name=foo.a produces pathnames with a mixture of slashes and backslashes. (I modified perlgcc to circumvent the problem.) Also, GNUmakefile did not define CYGWIN32, which resulted in linking errors. For that, I added the missing declaration in the hints file. Thanks in advance for any help. Fabio -- Fabio Somenzi | Phone: 303-492-3466 University of Colorado | Fax: 303-492-2758 ECE Dept. | Email: Fabio AT Colorado DOT EDU Boulder CO 80309-0425 | WWW: http://vlsi.colorado.edu/~fabio - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".