public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems running cpan_update from perl v5.6.0-RC1
@ 2000-05-02 10:54 Steve Kelem
  2000-05-02 13:16 ` Charles Wilson
  0 siblings, 1 reply; 18+ messages in thread
From: Steve Kelem @ 2000-05-02 10:54 UTC (permalink / raw)
  To: cwilson, Cygwin

I'm running
perl -MCPAN -e shell
with your perl on Cygwin 1.0, with the latest downloads for cygwin,
and all of your rpms installed.  This is on NT 4.0 SP6, Pentium III 550,
256M memory.

If I type "install Bundle::CPAN" to the cpan shell prompt, I get the
following errors:
cpan shell -- CPAN exploration and modules installation (v1.52)
ReadLine support available (try ``install Bundle::CPAN'')

Going to read /home/Kelem/.cpan/sources/authors/01mailrc.txt.gz
Going to read
/home/Kelem/.cpan/sources/modules/02packages.details.txt.gz
Scanning cache /home/Kelem/.cpan/build for sizes
Going to read /home/Kelem/.cpan/sources/modules/03modlist.data.gz
File::Spec is up to date.
MD5 is up to date.
Running make for PMQS/Compress-Zlib-1.08.tar.gz
CPAN: MD5 loaded ok
Checksum for
/home/Kelem/.cpan/sources/authors/id/PMQS/Compress-Zlib-1.08.tar.gz ok
Compress-Zlib-1.08/
Compress-Zlib-1.08/typemap
Compress-Zlib-1.08/t/
Compress-Zlib-1.08/t/examples.t
Compress-Zlib-1.08/t/zlib.t
Compress-Zlib-1.08/examples/
Compress-Zlib-1.08/examples/gzcat
Compress-Zlib-1.08/examples/filtdef
Compress-Zlib-1.08/examples/filtinf
Compress-Zlib-1.08/examples/gzstream
Compress-Zlib-1.08/examples/gzgrep
Compress-Zlib-1.08/Makefile.PL
Compress-Zlib-1.08/Zlib.xs
Compress-Zlib-1.08/Makefile.NT
Compress-Zlib-1.08/README
Compress-Zlib-1.08/ANNOUNCE
Compress-Zlib-1.08/MANIFEST
Compress-Zlib-1.08/config.in
Compress-Zlib-1.08/Zlib.pm
Removing previously used /home/Kelem/.cpan/build/Compress-Zlib-1.08

  CPAN.pm: Going to build PMQS/Compress-Zlib-1.08.tar.gz

Parsing config.in...
Looks Good.
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lz
Writing Makefile for Compress::Zlib
mkdir blib
mkdir blib/lib
mkdir blib/lib/Compress
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Compress
mkdir blib/arch/auto/Compress/Zlib
mkdir blib/lib/auto
mkdir blib/lib/auto/Compress
mkdir blib/lib/auto/Compress/Zlib
mkdir blib/man3
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/cygwin
-I/usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp
-typemap usr/local/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap
Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
gcc -c -I./libraries/1.1.3 -fno-strict-aliasing -I/usr/local/include
-DUSEIMPORTLIB -O     -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\"
-I/usr/local/lib/perl5/5.6.0/cygwin/CORE  Zlib.c
In file included from Zlib.xs:22:
/usr/local/lib/perl5/5.6.0/cygwin/CORE/perl.h:3185: sys/ipc.h: No such
file or directory
/usr/local/lib/perl5/5.6.0/cygwin/CORE/perl.h:3186: sys/sem.h: No such
file or directory
make: *** [Zlib.o] Error 1
  /bin/make  -- NOT OK

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems running cpan_update from perl v5.6.0-RC1
  2000-05-02 10:54 Problems running cpan_update from perl v5.6.0-RC1 Steve Kelem
@ 2000-05-02 13:16 ` Charles Wilson
  2000-05-02 13:54   ` Problems compiling perl module Compress-ZLib with perl Steve Kelem
  0 siblings, 1 reply; 18+ messages in thread
From: Charles Wilson @ 2000-05-02 13:16 UTC (permalink / raw)
  To: Steve Kelem; +Cc: Cygwin

Steve -
  I can tell you what I did to get Bundle::CPAN working (mostly) but I'm
not sure why you are seeing the particular errors below. [**** Nope. Now
I know why you're seeing *your* errors. See postscript. ****] My errors
(that forced me to the following recipe) were different, but I can't
remember them now.

1. Download, build, and install Compress-ZLib manually.
   (you know, perl Makefile.PL, make, make install)

2. Download, build, and install Archive-Tar manually.

3. Download, build, and install libnet manually
   (not necessary for you, since you're using my
   libnet RPM)

After that, I THINK Bundle::CPAN build/installed without trouble (it has
been a while). Of course, it skipped the Zlib, Tar, and libnet stuff
since I'd already done it by hand.

Good luck,
Chuck

P.S. sem.h and ipc.h are from the cygipc package. If you're using my
perl build, it was built with cygipc. Which means that you need to have
the cygipc package installed if you want to build modules -- for just
this reason; perl now expects to find all the same headers that I had
which I built it. You can get cygipc from cygutils.netpedia.net.


Steve Kelem wrote:
> 
> I'm running
> perl -MCPAN -e shell
> with your perl on Cygwin 1.0, with the latest downloads for cygwin,
> and all of your rpms installed.  This is on NT 4.0 SP6, Pentium III 550,
> 256M memory.
> 
> If I type "install Bundle::CPAN" to the cpan shell prompt, I get the
> following errors:
> cpan shell -- CPAN exploration and modules installation (v1.52)
> ReadLine support available (try ``install Bundle::CPAN'')
> 
> Going to read /home/Kelem/.cpan/sources/authors/01mailrc.txt.gz
> Going to read
> /home/Kelem/.cpan/sources/modules/02packages.details.txt.gz
> Scanning cache /home/Kelem/.cpan/build for sizes
> Going to read /home/Kelem/.cpan/sources/modules/03modlist.data.gz
> File::Spec is up to date.
> MD5 is up to date.
> Running make for PMQS/Compress-Zlib-1.08.tar.gz
> CPAN: MD5 loaded ok
> Checksum for
> /home/Kelem/.cpan/sources/authors/id/PMQS/Compress-Zlib-1.08.tar.gz ok
> Compress-Zlib-1.08/
> Compress-Zlib-1.08/typemap
> Compress-Zlib-1.08/t/
> Compress-Zlib-1.08/t/examples.t
> Compress-Zlib-1.08/t/zlib.t
> Compress-Zlib-1.08/examples/
> Compress-Zlib-1.08/examples/gzcat
> Compress-Zlib-1.08/examples/filtdef
> Compress-Zlib-1.08/examples/filtinf
> Compress-Zlib-1.08/examples/gzstream
> Compress-Zlib-1.08/examples/gzgrep
> Compress-Zlib-1.08/Makefile.PL
> Compress-Zlib-1.08/Zlib.xs
> Compress-Zlib-1.08/Makefile.NT
> Compress-Zlib-1.08/README
> Compress-Zlib-1.08/ANNOUNCE
> Compress-Zlib-1.08/MANIFEST
> Compress-Zlib-1.08/config.in
> Compress-Zlib-1.08/Zlib.pm
> Removing previously used /home/Kelem/.cpan/build/Compress-Zlib-1.08
> 
>   CPAN.pm: Going to build PMQS/Compress-Zlib-1.08.tar.gz
> 
> Parsing config.in...
> Looks Good.
> Checking if your kit is complete...
> Looks good
> Note (probably harmless): No library found for -lz
> Writing Makefile for Compress::Zlib
> mkdir blib
> mkdir blib/lib
> mkdir blib/lib/Compress
> mkdir blib/arch
> mkdir blib/arch/auto
> mkdir blib/arch/auto/Compress
> mkdir blib/arch/auto/Compress/Zlib
> mkdir blib/lib/auto
> mkdir blib/lib/auto/Compress
> mkdir blib/lib/auto/Compress/Zlib
> mkdir blib/man3
> cp Zlib.pm blib/lib/Compress/Zlib.pm
> AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
> /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/cygwin
> -I/usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp
> -typemap usr/local/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap
> Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
> gcc -c -I./libraries/1.1.3 -fno-strict-aliasing -I/usr/local/include
> -DUSEIMPORTLIB -O     -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\"
> -I/usr/local/lib/perl5/5.6.0/cygwin/CORE  Zlib.c
> In file included from Zlib.xs:22:
> /usr/local/lib/perl5/5.6.0/cygwin/CORE/perl.h:3185: sys/ipc.h: No such
> file or directory
> /usr/local/lib/perl5/5.6.0/cygwin/CORE/perl.h:3186: sys/sem.h: No such
> file or directory
> make: *** [Zlib.o] Error 1
>   /bin/make  -- NOT OK

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Problems compiling perl module Compress-ZLib with perl
  2000-05-02 13:16 ` Charles Wilson
@ 2000-05-02 13:54   ` Steve Kelem
  2000-05-07 15:30     ` Charles S. Wilson
  0 siblings, 1 reply; 18+ messages in thread
From: Steve Kelem @ 2000-05-02 13:54 UTC (permalink / raw)
  To: Charles Wilson, Cygwin

I downloaded and installed the binary release of cygipc, and it installed the
sys/*.h files.
(Perl v5.6.0-RC1, Cygwin 1.0, latest download (as of yesterday), NT 4.0 SP6,
Pentium III 550, 256M memory)

Charles Wilson wrote:

> 1. Download, build, and install Compress-ZLib manually.
>    (you know, perl Makefile.PL, make, make install)

I tried this, and got the following.  Any idea what's wrong?

Thanks for your help,
Steve

% make
mkdir blib
mkdir blib/lib
mkdir blib/lib/Compress
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Compress
mkdir blib/arch/auto/Compress/Zlib
mkdir blib/lib/auto
mkdir blib/lib/auto/Compress
mkdir blib/lib/auto/Compress/Zlib
mkdir blib/man3
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/cygwin
-I/usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap Zlib.xs
> Zlib.xsc && mv Zlib.xsc Zlib.c
gcc -c -I./libraries/1.1.3 -fno-strict-aliasing -I/usr/local/include
-DUSEIMPORTLIB -O     -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\"
-I/usr/local/lib/perl5/5.6.0/cygwin/CORE  Zlib.c
Running Mkbootstrap for Compress::Zlib ()
chmod 644 Zlib.bs
LD_RUN_PATH="" ld2 -o blib/arch/auto/Compress/Zlib/Zlib.dll  -L/usr/local/lib
Zlib.o /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool
--export-all-symbols --as as --output-def libZlib.def --output-lib libZlib.a \

 -L/usr/local/lib Zlib.o /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a

Warning: no export definition file provided
dllwrap will create one, but may not be what you want
Zlib.o(.text+0x152):Zlib.c: undefined reference to `gzerror'
Zlib.o(.text+0x27b):Zlib.c: undefined reference to `gzread'
Zlib.o(.text+0x9db):Zlib.c: undefined reference to `zlibVersion'
Zlib.o(.text+0xe13):Zlib.c: undefined reference to `gzopen'
Zlib.o(.text+0x1029):Zlib.c: undefined reference to `gzdopen'
Zlib.o(.text+0x1423):Zlib.c: undefined reference to `gzread'
Zlib.o(.text+0x18cf):Zlib.c: undefined reference to `gzwrite'
Zlib.o(.text+0x1a8e):Zlib.c: undefined reference to `gzflush'
Zlib.o(.text+0x1c1a):Zlib.c: undefined reference to `gzclose'
Zlib.o(.text+0x1d8f):Zlib.c: undefined reference to `gzclose'
Zlib.o(.text+0x1efb):Zlib.c: undefined reference to `gzerror'
Zlib.o(.text+0x20e0):Zlib.c: undefined reference to `adler32'
Zlib.o(.text+0x2290):Zlib.c: undefined reference to `crc32'
Zlib.o(.text+0x25f4):Zlib.c: undefined reference to `deflateInit2_'
Zlib.o(.text+0x261a):Zlib.c: undefined reference to `deflateSetDictionary'
Zlib.o(.text+0x28c8):Zlib.c: undefined reference to `inflateInit2_'
Zlib.o(.text+0x2bd4):Zlib.c: undefined reference to `deflate'
Zlib.o(.text+0x2da7):Zlib.c: undefined reference to `deflateEnd'
Zlib.o(.text+0x2f6c):Zlib.c: undefined reference to `deflate'
Zlib.o(.text+0x353b):Zlib.c: undefined reference to `inflate'
Zlib.o(.text+0x3582):Zlib.c: undefined reference to `inflateSetDictionary'
Zlib.o(.text+0x3795):Zlib.c: undefined reference to `inflateEnd'
Zlib.o(.text+0x4400):Zlib.c: undefined reference to `zlibVersion'
Zlib.o(.text+0x447d):Zlib.c: undefined reference to `adler32'
Zlib.o(.text+0x4493):Zlib.c: undefined reference to `crc32'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
perlld: *** system() failed to execute
dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool
--export-all-symbols --as as --output-def libZlib.def --output-lib libZlib.a \

 -L/usr/local/lib Zlib.o /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a

make: *** [blib/arch/auto/Compress/Zlib/Zlib.dll] Error 1

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-ZLib with perl
  2000-05-02 13:54   ` Problems compiling perl module Compress-ZLib with perl Steve Kelem
@ 2000-05-07 15:30     ` Charles S. Wilson
  0 siblings, 0 replies; 18+ messages in thread
From: Charles S. Wilson @ 2000-05-07 15:30 UTC (permalink / raw)
  To: Steve Kelem; +Cc: Cygwin

Steve Kelem wrote:
> 
> I downloaded and installed the binary release of cygipc, and it installed the
> sys/*.h files.
> (Perl v5.6.0-RC1, Cygwin 1.0, latest download (as of yesterday), NT 4.0 SP6,
> Pentium III 550, 256M memory)
> 
> Charles Wilson wrote:
> 
> > 1. Download, build, and install Compress-ZLib manually.
> >    (you know, perl Makefile.PL, make, make install)
> 
> I tried this, and got the following.  Any idea what's wrong?
> 
> Thanks for your help,
> Steve
> 
> % make

[snip]

> LD_RUN_PATH="" ld2 -o blib/arch/auto/Compress/Zlib/Zlib.dll  -L/usr/local/lib
> Zlib.o /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
> dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool
> --export-all-symbols --as as --output-def libZlib.def --output-lib libZlib.a \
> 
>  -L/usr/local/lib Zlib.o /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
> 

I'm not sure why yours is not doing this, but the preceding command
should be:

LD_RUN_PATH="/usr/local/lib" ld2 -o .....

Try doing that by hand; if it works, then we can try to determine why
your perl isn't generating the correct makefile.

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
  2000-12-18 16:17             ` Charles S. Wilson
@ 2000-12-19  8:00               ` Steve Kelem
  0 siblings, 0 replies; 18+ messages in thread
From: Steve Kelem @ 2000-12-19  8:00 UTC (permalink / raw)
  To: Charles S. Wilson; +Cc: Cygwin

Thanks for the clarification.  The message from dllwrap "creating [an 
export definition file], but that may not be what you want", made it 
seem like the compiler's last ditch attempt to do something, anything, 
but it probably wouldn't really run.  I'll ignore the message from now on.

Thanks again,
Steve

Charles S. Wilson wrote:

> Steve Kelem wrote:
> 
>> OK.  I uninstalled cygwin, deleted all the other old cygwin directories,
>> then reinstalled cygwin and perl -5.6.0-cygwni1.1.
>> Making Compress-Zlib-1.08 yields the following strange message from dllwrap:
>> 
>> dllwrap: no export definition file provided
>> dllwrap: creating one, but that may not be what you want
> 
> 
> This is normal (for perl).
> 
>> mv Zlib.dll libZlib.a blib/arch/auto/Compress/Zlib/\
> 
> 
> see -- success!  Zlib.dll exists.
> 
> Try 'make test' now (and then 'make install').
> 
> --Chuck
> 
> 


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
  2000-12-18 11:28           ` Steve Kelem
@ 2000-12-18 16:17             ` Charles S. Wilson
  2000-12-19  8:00               ` Steve Kelem
  0 siblings, 1 reply; 18+ messages in thread
From: Charles S. Wilson @ 2000-12-18 16:17 UTC (permalink / raw)
  To: Steve Kelem; +Cc: Cygwin

Steve Kelem wrote:
> 
> OK.  I uninstalled cygwin, deleted all the other old cygwin directories,
> then reinstalled cygwin and perl -5.6.0-cygwni1.1.
> Making Compress-Zlib-1.08 yields the following strange message from dllwrap:
> 

> dllwrap: no export definition file provided
> dllwrap: creating one, but that may not be what you want

This is normal (for perl).

> mv Zlib.dll libZlib.a blib/arch/auto/Compress/Zlib/\

see -- success!  Zlib.dll exists.

Try 'make test' now (and then 'make install').

--Chuck

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
  2000-12-17 11:48         ` Charles S. Wilson
  2000-12-17 13:12           ` Steve Kelem
@ 2000-12-18 11:28           ` Steve Kelem
  2000-12-18 16:17             ` Charles S. Wilson
  1 sibling, 1 reply; 18+ messages in thread
From: Steve Kelem @ 2000-12-18 11:28 UTC (permalink / raw)
  To: Charles S. Wilson, Cygwin

OK.  I uninstalled cygwin, deleted all the other old cygwin directories, 
then reinstalled cygwin and perl -5.6.0-cygwni1.1.
Making Compress-Zlib-1.08 yields the following strange message from dllwrap:

mkdir blib
mkdir blib/lib
mkdir blib/lib/Compress
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Compress
mkdir blib/arch/auto/Compress/Zlib
mkdir blib/lib/auto
mkdir blib/lib/auto/Compress
mkdir blib/lib/auto/Compress/Zlib
mkdir blib/man3
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/cygwin 
-I/usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp  
-typemap /usr/local/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap 
Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
gcc -c -I/usr/local/include -fno-strict-aliasing -I/usr/local/include 
-DUSEIMPORTLIB -O     -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\"  
-I/usr/local/lib/perl5/5.6.0/cygwin/CORE  Zlib.c
Running Mkbootstrap for Compress::Zlib ()
chmod 644 Zlib.bs
LD_RUN_PATH="/usr/local/lib" ld2 -o 
blib/arch/auto/Compress/Zlib/Zlib.dll  -L/usr/local/lib Zlib.o  
../zlib-1.1.3/libz.a /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool 
--export-all-symbols --as as --output-def libZlib.def --output-lib 
libZlib.a \
-L/usr/local/lib Zlib.o ../zlib-1.1.3/libz.a 
/usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you want
mv Zlib.dll libZlib.a blib/arch/auto/Compress/Zlib/
chmod 755 blib/arch/auto/Compress/Zlib/Zlib.dll
cp Zlib.bs blib/arch/auto/Compress/Zlib/Zlib.bs
chmod 644 blib/arch/auto/Compress/Zlib/Zlib.bs
Manifying blib/man3/Compress::Zlib.3

The output of gcc --verbose -c foo.c is:
% gcc --verbose -c foo.c
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/specs
gcc version 2.95.2-5 19991024 (cygwin experimental)
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/cpp.exe -lang-c -v -D__GNUC__=2 
-D__GN
UC_MINOR__=95 -Di386 -D__386__ -D__i386 -D_X86=1 -D__STDC__=1 
-D__stdcall=__attr
ibute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) 
-D__declspec(x)=__at
tribute__((x)) -D__i386__ -D__386__ -D__i386 -D_X86=1 -D__STDC__=1 
-D__stdcall=_
_attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) 
-D__declspec(x)
=__attribute__((x)) -D__i386 -Asystem(winnt) -Acpu(i386) -Amachine(i386) 
-remap
-Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 
-Dpentiumpro -D__i
686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -D__CYGWIN32__ 
-D__CYGWIN__ -Duni
x -D__unix__ -D__unix -D_WIN32 -DWINNT -isystem /usr/include/w32api 
foo.c /c/TEM
P/ccY4sQlR.i
GNU CPP version 2.95.2-5 19991024 (cygwin experimental) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/include/w32api
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/../../../../include
/usr/include
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/../../../../include/g++-3
End of omitted list.
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/cc1.exe /c/TEMP/ccY4sQlR.i 
-quiet -dum
pbase foo.c -version -o /c/TEMP/ccIjpVgD.s
GNU C version 2.95.2-5 19991024 (cygwin experimental) (i686-pc-cygwin) 
compiled
by GNU C version 2.95.2-5 19991024 (cygwin experimental).
as -o foo.o /c/TEMP/ccIjpVgD.s

The output of cygcheck -s -v -r:

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Mon Dec 18 10:38:07 2000

WinNT Ver 4.0 build 1381 Service Pack 6

Path:    /home/kelem/bin/i386
   /home/kelem/bin/sh
   G
   /contrib/bin
   /usr/local/gnu/bin
   /usr/local/bin
   /usr/bin
   /bin
   /usr/local/gnu/emacs-20.7/bin
   /usr/etc

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `/home/kelem'
MAKE_MODE = `unix'
PWD = `/tmp'
USER = `kelem'
LD_LIBRARY_PATH = 
`/usr/local/gnu/mh/lib:/usr/local/gnu/lib:/usr/local/gnu/lib/rvplayer5.0:/usr/local/lib'

!F: = `F:\KELEM'
COMPUTERNAME = `KELEM'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\kelem'
LOGONSERVER = `\\KELEM'
NUMBER_OF_PROCESSORS = `1'
OS = `Windows_NT'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0703'
PROMPT = `$P$G'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `/c/TEMP'
TMP = `/c/TEMP'
USERDOMAIN = `KELEM'
USERNAME = `kelem'
USERPROFILE = `C:\WINNT\Profiles\kelem'
WINDIR = `C:\WINNT'
TERM = `cygwin'
HOSTTYPE = `i386'
VENDOR = `intel'
OSTYPE = `posix'
MACHTYPE = `i386'
SHLVL = `1'
LOGNAME = `kelem'
GROUP = `None'
HOST = `KELEM'
X11 = `/tools/x11r5/sun5'
MOTIF = `/tools/motif_2.0.1'
OS_RELEASE = `1.1.6(0.30/3/2)'
ARCH = `i386'
MACH = `i386'
MACH_SYNOPSYS = `i386/i386'
SYNOPSYS = `/products/synopsys.ver3_4b'
BMAKE = `Make.out.CYGWIN_NT-4.01.1.6(0.30/3/2)'
BCHECK = `Check.out.CYGWIN_NT-4.01.1.6(0.30/3/2)'
BCONFIG = `Configure.out.CYGWIN_NT-4.01.1.6(0.30/3/2)'
BINSTALL = `Install.out.CYGWIN_NT-4.01.1.6(0.30/3/2)'
ASI_PLC = `F:\ASi\Release'
HCDIR = `/tools/quintus/pcbin'
GNU = `/usr/local/gnu'
GNUL = `/usr/local/gnu/lib'
GNUB = `/usr/local/gnu/bin'
GNUM = `/usr/local/gnu/man'
GNUS = `/usr/local/src/gnu'
EMACS_LISP = `/usr/local/gnu/share/emacs/19.34/lisp'
PERL_SRC = `/usr/local/src/gnu/perl5.002'
CLASSPATH = `f:\\Kelem\\cad\\src\\sablecc-2.11\\sablecc.jar'
THREADS_FLAG = `green'
HOSTNAME = `KELEM'
hostname = `KELEM'
Gnu = `'
SHELLEV = `1'
PRPP = `%'
PRSU = `#'
PRPRE = `'
PRSUF = `%'
WHOIAM = `kelem'
LM_LICENSE_FILE = `/usr/local/cadlicense/mentor.flexlm'
BIN = `/home/kelem/bin/i386'
EDITOR = `vi'
EXINIT = `set ai sw=4 aw sections=bvH\ NHSHHU sm w1200=12 wm=1'
LESS = `C'
LESSCHARSET = `latin1'
LIB = `/home/kelem/lib/i386'
TRNINIT = `-x6ms +e -mu -S -XX -N -B -p -Oas'
MAIL = `/var/mail/kelem'
MAILPOSTER = `Rnmail -h %h %A'
MAILHEADER = `To: %T
Subject: %(%i=^$?:Re: %S
Fcc: +CC
Newsgroups: %n
In-Reply-To: %i)
%(%[references]!=^$?References\: %[references]
)Organization: %o

'
ME = `kelem'
PAGER = `less'
TEXTEMP = `/home/kelem/lib/tex/templates'
VERSIONS = `4'
TROFF = `/usr/local/gnu/bin/groff'
phones = `/usr/local/src/lib/phone'
time = `5'
RCSINIT = `-x,v/'
TCLI_HOST_FILE = `/tools/tserv/HOSTS'
TCLI_MAX_HOSTS = `20'
PURIFYHOME = `/tools/purify/purify-3.0.1-sunos4'
PURIFYOPTIONS = `-windows=yes -log-file=./%v.%p.PLOG -chain-length=26'
BIBINPUTS = `/home/kelem/lib/bib'
TEXFONTS = 
`/home/kelem/mf/fonts:/home/kelem/lib/tex/fonts:/usr/local/lib/tex/fonts'
TEXPKS = 
`/home/kelem/mf/fonts/%f/%f.%dpk:/home/kelem/lib/tex/fonts/%f/%f.%dpk:/usr/local/lib/tex/fonts/%f/%f.%dpk'
TEXEDIT = `vi -%d %s'
TEXINPUTS = 
`.:/home/kelem/lib/tex/kelemmacros:/usr/local/lib/tex/localmacros:/usr/local/lib/tex/inputs:/usr/local/lib/tex/macros:/home/kelem/lib/tex/bib:/home/kelem/lib/tex/macros/web:/usr/local/lib/tex/bib:/usr/local/lib/tex/macros/web'
XDVIFONTS = `/usr/local/lib/tex/fonts/%f/%f.%d%p'
MFBASESdir = `/home/kelem/lib/i386/mf/bases'
MFINPUTS = 
`.:/home/kelem/cmfonts/mf:/home/kelem/lib/mf/bases:/usr/local/lib/mf/inputs'
MFINPUTSdir = `/home/kelem/lib/i386/mf/bases'
MFPOOL = `.:/usr/local/lib/mf'
MFPOOLdir = `/home/kelem/lib/mf'
XKEYSYMDB = `/tools/x11r5/sun5/lib/X11/XKeysymDB'
FONT1 = `8x13'
FONT2 = `8x13'
FONT3 = `9x15'
HPATH = 
`/home/kelem/man:/usr/local/gnu/man:/tools/x11r5/sun5/man:/usr/man:/usr/local/mh/man:/usr/local/man'
MANPATH = 
`/home/kelem/man:/usr/local/gnu/man:/tools/x11r5/sun5/man:/usr/man:/usr/local/gnu/lib/perl5.004/man:/usr/local/mh/man:/tools/purify/purify-3.0.1-sunos4/man:/usr/local/man'
TZ = `PST8PDT7,M4.1.0/2,M10.5.0/2'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `g:\cygwin'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/c
  (default) = `c:'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/d
  (default) = `d:'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/e
  (default) = `e:'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/f
  (default) = `f:'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/g
  (default) = `G:'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/h
  (default) = `h:'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/i
  (default) = `i:'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/j
  (default) = `j:'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `g:/cygwin/bin'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `g:/cygwin/lib'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/local/gnu
  (default) = `g:\Gnu'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/local/info
  (default) = `g:\Gnu\emacs-20.7\info'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts 
v2\/usr/local/share
  (default) = `g:\Gnu\share\lib'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start 
Menu\&Programs\Cygnus Solutions
  (default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL 
setup\b15.0\mounts\1D

a:  fd           N/A    N/A                   
c:  hd  FAT     2039Mb  58% CP    UN          
d:  hd  FAT     2039Mb  26% CP    UN           D DRIVE
e:  hd  FAT     2039Mb  45% CP    UN           E DRIVE
f:  hd  FAT     2039Mb  53% CP    UN           F DRIVE
g:  hd  FAT     2039Mb  63% CP    UN           G DRIVE
h:  hd  FAT     2039Mb  15% CP    UN           H DRIVE
i:  hd  FAT     2039Mb  27% CP    UN           I DRIVE
j:  hd  FAT      356Mb  69% CP    UN           J DRIVE
m:  cd           N/A    N/A                   
n:  cd           N/A    N/A                   
z:  fd  FAT       95Mb  68% CP    UN           PKBACK# 002

g:\Gnu\emacs-20.7\info  /usr/local/info  user    textmode
g:\Gnu\share\lib  /usr/local/share  user    textmode
g:\cygwin\bin  /usr/bin  user    binmode
g:\cygwin\lib  /usr/lib  user    binmode
g:\cygwin  /        user    binmode
g:\Gnu  /usr/local/gnu  user    textmode
G:    /g       user    textmode
c:    /c       user    textmode
d:    /d       user    textmode
e:    /e       user    textmode
f:    /f       user    textmode
h:    /h       user    textmode
i:    /i       user    textmode
j:    /j       user    textmode

Found: g:\cygwin\bin\bash.exe
Found: g:\cygwin\bin\cat.exe
Found: g:\cygwin\bin\cpp.exe
Found: g:\cygwin\bin\find.exe
Found: g:\cygwin\bin\gcc.exe
Found: g:\cygwin\bin\gdb.exe
Found: g:\cygwin\bin\ld.exe
Found: g:\cygwin\bin\ls.exe
Found: g:\cygwin\bin\make.exe
Found: g:\cygwin\bin\sh.exe

  14k 2000/10/23 g:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                 "cygintl.dll" v0.0 ts=2000/10/23 12:02
  45k 2000/10/22 g:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                 "cygjbig1.dll" v0.0 ts=2000/10/22 16:06
  119k 2000/10/23 g:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                 "cygjpeg6b.dll" v0.0 ts=2000/10/22 17:58
  162k 2000/10/23 g:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                 "cygpng2.dll" v0.0 ts=2000/10/22 17:40
  83k 2000/11/25 g:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                 "cygform5.dll" v0.0 ts=2000/11/24 21:42
  53k 2000/11/25 g:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                 "cygmenu5.dll" v0.0 ts=2000/11/24 21:42
  300k 2000/11/25 g:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                 "cygncurses5.dll" v0.0 ts=2000/11/24 21:40
  35k 2000/11/25 g:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                 "cygpanel5.dll" v0.0 ts=2000/11/24 21:41
  17k 2000/11/30 g:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                 "cyghistory4.dll" v0.0 ts=2000/11/29 18:28
  108k 2000/11/30 g:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                 "cygreadline4.dll" v0.0 ts=2000/11/29 18:28
  81k 2000/12/05 g:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                 "cygitcl30.dll" v0.0 ts=2000/11/25 17:43
  35k 2000/12/05 g:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                 "cygitk30.dll" v0.0 ts=2000/11/25 17:43
  390k 2000/12/05 g:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                 "cygtcl80.dll" v0.0 ts=2000/11/25 17:39
   5k 2000/12/05 g:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
  10k 2000/12/05 g:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                 "cygtclreg80.dll" v0.0 ts=2000/11/25 17:39
  623k 2000/12/05 g:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                 "cygtk80.dll" v0.0 ts=2000/11/25 17:43
  243k 2000/10/23 g:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                 "cygtiff3.dll" v0.0 ts=2000/10/22 18:14
  41k 2000/11/20 g:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                 "cygXpm-noX4.dll" v0.0 ts=2000/11/19 18:41
  45k 2000/11/20 g:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                 "cygXpm-X4.dll" v0.0 ts=2000/11/19 18:45
  49k 2000/10/23 g:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                 "cygz.dll" v0.0 ts=2000/10/22 17:22
  56k 2000/12/03 g:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
                 "cygbz21.0.dll" v0.0 ts=2000/11/20 15:53
  18k 2000/10/23 g:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                 "cyggdbm.dll" v0.0 ts=2000/10/22 19:26
  609k 2000/11/22 g:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                 "cygwin1.dll" v0.0 ts=2000/11/21 18:00
   Cygwin DLL version info:
       dll major: 1001
       dll minor: 6
       dll epoch: 19
       dll bad signal mask: 19005
       dll old termios: 5
       dll malloc env: 28
       api major: 0
       api minor: 30
       shared data: 3
       dll identifier: cygwin1
       mount registry: 2
       cygnus registry name: Cygnus Solutions
       cygwin registry name: Cygwin
       program options name: Program Options
       cygwin mount registry name: mounts v2
       cygdrive flags: cygdrive flags
       cygdrive prefix: cygdrive prefix
       cygdrive default prefix:
       build date: Tue Nov 21 21:00:16 EST 2000
       shared id: cygwin1S3

Use -h to see help about each section


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
  2000-12-17 13:12           ` Steve Kelem
@ 2000-12-17 14:07             ` Gerrit P. Haase
  0 siblings, 0 replies; 18+ messages in thread
From: Gerrit P. Haase @ 2000-12-17 14:07 UTC (permalink / raw)
  To: Steve Kelem, Cygwin

<17 Dec 2000, 13:12 Uhr wars, als Steve Kelem folgendes schrub:>
< Re: Problems compiling perl module  >

> I searched for collect2.exe on /g (cygwin is installed in G:\cygwin) and 
> found:
> 
> 441580091   27 -rwxr-xr-x   1 kelem    None        54272 Nov  9 22:09 
> /g/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/collect2.exe
> 1055031969   27 -rwxr-xr-x   1 kelem    None        55296 Feb  7  2000 
> /g/PRC-Tools/H-i586-cygwin32/lib/gcc-lib/m68k-palmos/2.95.2-kgpd/collect2.exe
> 137271073   27 -rwxr-xr-x   1 kelem    None        54272 Nov  9 22:09 
> /g/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/collect2.exe
> 415310720   28 -rwxr-xr-x   1 kelem    None        56832 Nov 21  1999 
> /g/lib/gcc-lib/i686-cygwin/2.95.2/collect2.exe
> 
> Are any of these valid?

Hi Steve, 

i would uninstall all these versions of gcc, there are three different 
ones.

If you run bash, normally, your path looks like this (should look):
PATH=/usr/local/bin:/usr/bin:/bin

If you got gcc installed, there are binaries in /bin to be found in the 
mount /usr/bin
Also there are binaries (collect2.exe e.g.) in:

$ locate collect
/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/collect2.exe
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/collect2.exe

$ locate ld.exe
/bin/fold.exe
/bin/ld.exe
/usr/bin/fold.exe
/usr/bin/ld.exe

$ locate gcc.exe
/bin/gcc.exe
/bin/i686-pc-cygwin-gcc.exe
/usr/bin/gcc.exe
/usr/bin/i686-pc-cygwin-gcc.exe

I could tell nothing else than, uninstall all your different copies of 
gcc and all the other stuff, reinstall WITH setup.exe from cygwin.com, 
change your PATH to standard:
export PATH=/usr/local/bin:/usr/bin:/bin

Get the source of perl and compile by yourself. If help is needed, fell 
free to ask again.


-- 
=^..^=
Gerrit Peter Haase

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
@ 2000-12-17 13:17 Earnie Boyd
  0 siblings, 0 replies; 18+ messages in thread
From: Earnie Boyd @ 2000-12-17 13:17 UTC (permalink / raw)
  To: Charles S. Wilson; +Cc: cygwin users

--- "Charles S. Wilson" <cwilson@ece.gatech.edu> wrote:
> 
> Is that just a vestige of an older version of setup?  Should we now ask
> for 'cygcheck' output and /etc/setup/installed.db or should cygcheck be
> patched to also dump installed.db ?
> 

Yes, Chris had modified the original setup to store this info in the registry. 
Yes, IMO cygcheck should give us the contents of /etc/setup/installed.db and
/setup.log.full if it exists.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         < http://earniesystems.safeshopper.com >         ---
--- Cygwin: POSIX on Windows < http://gw32.freeyellow.com/ > ---
---   Minimalist GNU for Windows < http://www.mingw.org/ >   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
  2000-12-17 11:48         ` Charles S. Wilson
@ 2000-12-17 13:12           ` Steve Kelem
  2000-12-17 14:07             ` Gerrit P. Haase
  2000-12-18 11:28           ` Steve Kelem
  1 sibling, 1 reply; 18+ messages in thread
From: Steve Kelem @ 2000-12-17 13:12 UTC (permalink / raw)
  To: Charles S. Wilson; +Cc: Cygwin

Charles S. Wilson wrote:

>>>> -L/usr/local/lib Zlib.o ../zlib-1.1.3/libz.a
>>>> /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
>>>> dllwrap: no export definition file provided
>>>> dllwrap: creating one, but that may not be what you want
>>>> collect2: installation problem, cannot exec `/home/kelem/bin/sh/ld': No
>>>> such file or directory
>>> 
>>> 
>>> What is this /home/kelem/bin/sh/ld ??  collect2 *should* be calling
>>> /usr/bin/ld.exe.
>> 
>> I have a file called ld.sh.  Why is it being invoked?  I don't have a
>> file called ld or ld.exe.
>> I tried deleting the file, and I get the same result.
> 
> 
> I don't know.  I'm stumped.  Try renaming /usr/bin/collect2.exe.  If
> collect2 is missing, gcc will directly invoke ld.exe -- hopefully gcc
> will locate the correct ld, since you've somehow managed to get collect2
> terminally confused.
> 
> --Chuck
> 
> 
I searched for collect2.exe on /g (cygwin is installed in G:\cygwin) and 
found:

441580091   27 -rwxr-xr-x   1 kelem    None        54272 Nov  9 22:09 
/g/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/collect2.exe
1055031969   27 -rwxr-xr-x   1 kelem    None        55296 Feb  7  2000 
/g/PRC-Tools/H-i586-cygwin32/lib/gcc-lib/m68k-palmos/2.95.2-kgpd/collect2.exe
137271073   27 -rwxr-xr-x   1 kelem    None        54272 Nov  9 22:09 
/g/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/collect2.exe
415310720   28 -rwxr-xr-x   1 kelem    None        56832 Nov 21  1999 
/g/lib/gcc-lib/i686-cygwin/2.95.2/collect2.exe

Are any of these valid?

Thanks,
Steve


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
  2000-12-17 10:03   ` Steve Kelem
  2000-12-17 11:14     ` Charles S. Wilson
@ 2000-12-17 13:05     ` Christopher Faylor
  1 sibling, 0 replies; 18+ messages in thread
From: Christopher Faylor @ 2000-12-17 13:05 UTC (permalink / raw)
  To: cygwin

On Sun, Dec 17, 2000 at 10:01:27AM -0800, Steve Kelem wrote:
>Christopher Faylor wrote:
>>>Because of the problems I'm having compiling the perl module 
> >>Compress-Zlib 1.08 and because the cygwin page
> >>( http://sources.redhat.com/cygwin/ported.html ) lists a port of gcc2.95.2 
> >>( ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32 >/cygwin/gcc-2.95.2/ < ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95.2/ >).   
> >>(If this isn't a good compiler, please let me know, let me know how to 
> >>uninstall it, how to install the proper one, and update your web page. 
> >>For now, I'll assume it's the correct compiler, even though it installed 
> >>into /H-i586-cygwin32/bin, and not /bin.)
>
>
>>>I think I've already let you know.  Use the version of the compiler
>>>that is released with the product.  There is no reason for you to go to
>>>some other site to find a compiler.  gcc comes with cygwin.  Use
>>>setup.exe to install it, just like any other package.
>
>>That link was basically a historical reference.  I've removed it.
>I just looked at
>
> http://sources.redhat.com/cygwin/ and it still contains the link "more
>software", which contains the link gcc 2.95.2, which points to
> ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95.2/

FYI, the only place that I could find the string "2.95" anywhere in the
cygwin directory was in an xfree web page.  I assume that you were
probably looking at a cached copy of the ported.html web page.

The xraylith.wisc.edu site does show up in the tcl/tk link, though.  I left
that because I thought it was still appropriate.

Two other observations:

1) It is entirely possible that there are other software packages listed on
   the "ported.html" or other web pages which are now part of the actual cygwin
   package.  We try to support the packages that are downloaded by the setup.exe
   utility.  We don't support anything that is available from other locations.

2) THERE IS NO REASON TO CC ME.  Please stop Cc'ing me in your responses.  I read
   the cygwin mailing list.  There is no reason to add a personal Cc.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
  2000-12-17 11:23       ` Steve Kelem
  2000-12-17 11:48         ` Charles S. Wilson
@ 2000-12-17 12:07         ` Gerrit P. Haase
  1 sibling, 0 replies; 18+ messages in thread
From: Gerrit P. Haase @ 2000-12-17 12:07 UTC (permalink / raw)
  To: Christopher Faylor, Cygwin

<17 Dec 2000, 11:22 Uhr wars, als Steve Kelem folgendes schrub:>
< Re: Problems compiling perl module  >

> > What is this /home/kelem/bin/sh/ld ??  collect2 *should* be calling
> > /usr/bin/ld.exe.  
> 
> I have a file called ld.sh.  Why is it being invoked?  I don't have a 
> file called ld or ld.exe.
> I tried deleting the file, and I get the same result.

Hi Steve,

well, without ld.exe, it is not possible to compile s.th. for perl in 
cygwin, since perl is compiled with help of ld.exe.

You should really install the WHOLE cygwin that you get running setup 
from http://www.cygwin.com

I would suggest, to delete setup.ini and /etc/setup/installed.db before 
running setup, so everything is installed new.

If you don't like this idea, you definitly need to install binutils, 
which contains ld.exe and some other tools. 
I know, you got it installed, but it must be corrupted, since there is 
no ld.exe, maybe other parts of your installation are corrupted too, 
thats the reason why i suggest a full new install may be the best now.

Ciao,
-- 
Gerrit Peter Haase

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
  2000-12-17 11:23       ` Steve Kelem
@ 2000-12-17 11:48         ` Charles S. Wilson
  2000-12-17 13:12           ` Steve Kelem
  2000-12-18 11:28           ` Steve Kelem
  2000-12-17 12:07         ` Gerrit P. Haase
  1 sibling, 2 replies; 18+ messages in thread
From: Charles S. Wilson @ 2000-12-17 11:48 UTC (permalink / raw)
  To: Steve Kelem; +Cc: Cygwin

> >> -L/usr/local/lib Zlib.o ../zlib-1.1.3/libz.a
> >> /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
> >> dllwrap: no export definition file provided
> >> dllwrap: creating one, but that may not be what you want
> >> collect2: installation problem, cannot exec `/home/kelem/bin/sh/ld': No
> >> such file or directory
> >
> >
> > What is this /home/kelem/bin/sh/ld ??  collect2 *should* be calling
> > /usr/bin/ld.exe.
> 
> I have a file called ld.sh.  Why is it being invoked?  I don't have a
> file called ld or ld.exe.
> I tried deleting the file, and I get the same result.

I don't know.  I'm stumped.  Try renaming /usr/bin/collect2.exe.  If
collect2 is missing, gcc will directly invoke ld.exe -- hopefully gcc
will locate the correct ld, since you've somehow managed to get collect2
terminally confused.

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
  2000-12-17 11:14     ` Charles S. Wilson
@ 2000-12-17 11:23       ` Steve Kelem
  2000-12-17 11:48         ` Charles S. Wilson
  2000-12-17 12:07         ` Gerrit P. Haase
  0 siblings, 2 replies; 18+ messages in thread
From: Steve Kelem @ 2000-12-17 11:23 UTC (permalink / raw)
  To: Charles S. Wilson; +Cc: Christopher Faylor, Cygwin

Charles S. Wilson wrote:

> Steve Kelem wrote:
> 
>> Charles S. Wilson wrote:
>> 
>>> Looks like your gcc and binutils are not correctly installed.  Please
>>> send the output of 'cygcheck -s -v -r' and of 'touch foo.c && gcc
>>> --verbose -c foo.c' to the list.
>>> 
>>> --Chuck
>>> 
>>> 
>> I uninstalled and reinstalled the cygwin software.  Now I'm back to my
>> original compilation problem, which looks like a C compiler problem.
>> 
>> LD_RUN_PATH="" ld2 -o blib/arch/auto/Compress/Zlib/Zlib.dll
>> -L/usr/local/lib Zlib.o  ../zlib-1.1.3/libz.a
>> /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
>> 
>> dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool
>> --export-all-symbols --as as --output-def libZlib.def --output-lib
>> libZlib.a \
>> -L/usr/local/lib Zlib.o ../zlib-1.1.3/libz.a
>> /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
>> dllwrap: no export definition file provided
>> dllwrap: creating one, but that may not be what you want
>> collect2: installation problem, cannot exec `/home/kelem/bin/sh/ld': No
>> such file or directory
> 
> 
> What is this /home/kelem/bin/sh/ld ??  collect2 *should* be calling
> /usr/bin/ld.exe.  

I have a file called ld.sh.  Why is it being invoked?  I don't have a 
file called ld or ld.exe.
I tried deleting the file, and I get the same result.

Steve


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
  2000-12-17 10:03   ` Steve Kelem
@ 2000-12-17 11:14     ` Charles S. Wilson
  2000-12-17 11:23       ` Steve Kelem
  2000-12-17 13:05     ` Christopher Faylor
  1 sibling, 1 reply; 18+ messages in thread
From: Charles S. Wilson @ 2000-12-17 11:14 UTC (permalink / raw)
  To: Steve Kelem; +Cc: Christopher Faylor, Cygwin

Steve Kelem wrote:
> 
> Charles S. Wilson wrote:
> 
> > Looks like your gcc and binutils are not correctly installed.  Please
> > send the output of 'cygcheck -s -v -r' and of 'touch foo.c && gcc
> > --verbose -c foo.c' to the list.
> >
> > --Chuck
> >
> >
> I uninstalled and reinstalled the cygwin software.  Now I'm back to my
> original compilation problem, which looks like a C compiler problem.
> 
> LD_RUN_PATH="" ld2 -o blib/arch/auto/Compress/Zlib/Zlib.dll
> -L/usr/local/lib Zlib.o  ../zlib-1.1.3/libz.a
> /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
> 
> dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool
> --export-all-symbols --as as --output-def libZlib.def --output-lib
> libZlib.a \
> -L/usr/local/lib Zlib.o ../zlib-1.1.3/libz.a
> /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
> dllwrap: no export definition file provided
> dllwrap: creating one, but that may not be what you want
> collect2: installation problem, cannot exec `/home/kelem/bin/sh/ld': No
> such file or directory

What is this /home/kelem/bin/sh/ld ??  collect2 *should* be calling
/usr/bin/ld.exe.  

>   ------------------------------------------------------------------------
> 
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Sun Dec 17 07:58:32 2000
> 
> WinNT Ver 4.0 build 1381 Service Pack 6

I'm confused.  My cygcheck shows a registry list of installed packages
and versions.  

** DJ **:

Is that just a vestige of an older version of setup?  Should we now ask
for 'cygcheck' output and /etc/setup/installed.db or should cygcheck be
patched to also dump installed.db ?

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
  2000-12-16 20:34 ` Charles S. Wilson
@ 2000-12-17 10:03   ` Steve Kelem
  2000-12-17 11:14     ` Charles S. Wilson
  2000-12-17 13:05     ` Christopher Faylor
  0 siblings, 2 replies; 18+ messages in thread
From: Steve Kelem @ 2000-12-17 10:03 UTC (permalink / raw)
  To: Charles S. Wilson, Christopher Faylor, Cygwin

Charles S. Wilson wrote:

> Looks like your gcc and binutils are not correctly installed.  Please
> send the output of 'cygcheck -s -v -r' and of 'touch foo.c && gcc
> --verbose -c foo.c' to the list.
> 
> --Chuck
> 
> 
I uninstalled and reinstalled the cygwin software.  Now I'm back to my 
original compilation problem, which looks like a C compiler problem.

LD_RUN_PATH="" ld2 -o blib/arch/auto/Compress/Zlib/Zlib.dll  
-L/usr/local/lib Zlib.o  ../zlib-1.1.3/libz.a 
/usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a

dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool 
--export-all-symbols --as as --output-def libZlib.def --output-lib 
libZlib.a \
-L/usr/local/lib Zlib.o ../zlib-1.1.3/libz.a 
/usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you want
collect2: installation problem, cannot exec `/home/kelem/bin/sh/ld': No 
such file or directory
dllwrap: gcc exited with status 1
perlld: *** system() failed to execute
dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool 
--export-all-symbols --as as --output-def libZlib.def --output-lib 
libZlib.a \
-L/usr/local/lib Zlib.o ../zlib-1.1.3/libz.a 
/usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a

make: *** [blib/arch/auto/Compress/Zlib/Zlib.dll] Error 1

I get the same result if I set LD_RUN_PATH to /usr/local/lib (make 
LD_RUN_PATH="/usr/...")

Here's the output of gcc --verbose ...
% gcc --verbose -c -foo.c |& tee gcc.out
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/specs
gcc version 2.95.2-5 19991024 (cygwin experimental)

I've attached the output of cygcheck -s -v -r

Thanks for your help,
Steve

Christopher Faylor wrote:

>>Because of the problems I'm having compiling the perl module 
 >>Compress-Zlib 1.08 and because the cygwin page
 >>( http://sources.redhat.com/cygwin/ported.html ) lists a port of gcc2.95.2 
 >>( ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32 >/cygwin/gcc-2.95.2/ < ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95.2/ >).   
 >>(If this isn't a good compiler, please let me know, let me know how to 
 >>uninstall it, how to install the proper one, and update your web page. 
 >>For now, I'll assume it's the correct compiler, even though it installed 
 >>into /H-i586-cygwin32/bin, and not /bin.)


>I think I've already let you know.  Use the version of the compiler that
>>is released with the product.  There is no reason for you to go to some
>>other site to find a compiler.  gcc comes with cygwin.  Use setup.exe to
>>install it, just like any other package.

>That link was basically a historical reference.  I've removed it.
I just looked at

http://sources.redhat.com/cygwin/
and it still contains the link "more software", which contains the link 
gcc 2.95.2, which points to 
ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/gcc-2.95.2/

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems compiling perl module Compress-Zlib with perl
  2000-12-15 23:11 Problems compiling perl module Compress-Zlib " Steve Kelem
@ 2000-12-16 20:34 ` Charles S. Wilson
  2000-12-17 10:03   ` Steve Kelem
  0 siblings, 1 reply; 18+ messages in thread
From: Charles S. Wilson @ 2000-12-16 20:34 UTC (permalink / raw)
  To: Steve Kelem; +Cc: cygwin

Steve Kelem wrote:
Charles Wilson wrote:
> > I'm not sure why yours is not doing this, but the preceding command
> > should be:
> > 
> > LD_RUN_PATH="/usr/local/lib" ld2 -o .....
> > 
> > Try doing that by hand; if it works, then we can try to determine why
> > your perl isn't generating the correct makefile.
> > 
>
> I modified the generated Makefile so that LD_RUN_PATH 
> is set to "/usr/local/lib".
> 
> Now I get:
> 
> {KELEM:kelem:213} make | & tee Make.out
> mkdir blib
> mkdir blib/lib
> mkdir blib/lib/Compress
> mkdir blib/arch
> mkdir blib/arch/auto
> mkdir blib/arch/auto/Compress
> mkdir blib/arch/auto/Compress/Zlib
> mkdir blib/lib/auto
> mkdir blib/lib/auto/Compress
> mkdir blib/lib/auto/Compress/Zlib
> mkdir blib/man3
> cp Zlib.pm blib/lib/Compress/Zlib.pm
> AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
> /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/cygwin -I/usr/local/lib/perl5/5
> .6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5
> .6.0/ExtUtils/typemap -typemap typemap Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
> gcc -c -I/usr/local/include -fno-strict-aliasing -I/usr/local/include -DUSEIMPOR
> TLIB -O     -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\"  -I/usr/local/lib/perl5/5.6
> .0/cygwin/CORE  Zlib.c
> cpp: unrecognized option `-remap'
> cpp: unrecognized option `-remap'

Looks like your gcc and binutils are not correctly installed.  Please
send the output of 'cygcheck -s -v -r' and of 'touch foo.c && gcc
--verbose -c foo.c' to the list.

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* re: Problems compiling perl module Compress-Zlib with perl
@ 2000-12-15 23:11 Steve Kelem
  2000-12-16 20:34 ` Charles S. Wilson
  0 siblings, 1 reply; 18+ messages in thread
From: Steve Kelem @ 2000-12-15 23:11 UTC (permalink / raw)
  To: Cygwin, cwilson

Steve Kelem wrote:
> 
> I downloaded and installed the binary release of cygipc, and it installed the
> sys/*.h files.
> (Perl v5.6.0-RC1, Cygwin 1.0, latest download (as of yesterday), NT 4.0 SP6,
> Pentium III 550, 256M memory)
> 
> Charles Wilson wrote:
> 
> > 1. Download, build, and install Compress-ZLib manually.
> >    (you know, perl Makefile.PL, make, make install)
> 
> I tried this, and got the following.  Any idea what's wrong?
> 
> Thanks for your help,
> Steve
> 
> % make

[snip]

> LD_RUN_PATH="" ld2 -o blib/arch/auto/Compress/Zlib/Zlib.dll  -L/usr/local/lib
> Zlib.o /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
> dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool
> --export-all-symbols --as as --output-def libZlib.def --output-lib libZlib.a \
> 
>  -L/usr/local/lib Zlib.o /usr/local/lib/perl5/5.6.0/cygwin/CORE/libperl5_6_0.a
> 

I'm not sure why yours is not doing this, but the preceding command
should be:

LD_RUN_PATH="/usr/local/lib" ld2 -o .....

Try doing that by hand; if it works, then we can try to determine why
your perl isn't generating the correct makefile.

--Chuck

I modified the generated Makefile so that LD_RUN_PATH is set to "/usr/local/lib".

Now I get:

{KELEM:kelem:213} make | & tee Make.out
mkdir blib
mkdir blib/lib
mkdir blib/lib/Compress
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Compress
mkdir blib/arch/auto/Compress/Zlib
mkdir blib/lib/auto
mkdir blib/lib/auto/Compress
mkdir blib/lib/auto/Compress/Zlib
mkdir blib/man3
cp Zlib.pm blib/lib/Compress/Zlib.pm
AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/cygwin -I/usr/local/lib/perl5/5
.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5
.6.0/ExtUtils/typemap -typemap typemap Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
gcc -c -I/usr/local/include -fno-strict-aliasing -I/usr/local/include -DUSEIMPOR
TLIB -O     -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\"  -I/usr/local/lib/perl5/5.6
.0/cygwin/CORE  Zlib.c
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: unrecognized option `-remap'
cpp: installation problem, cannot exec `cpp': Resource temporarily unavailable
make: *** [Zlib.o] Error 1

Thanks for your help,
Steve Kelem


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2000-12-19  8:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-02 10:54 Problems running cpan_update from perl v5.6.0-RC1 Steve Kelem
2000-05-02 13:16 ` Charles Wilson
2000-05-02 13:54   ` Problems compiling perl module Compress-ZLib with perl Steve Kelem
2000-05-07 15:30     ` Charles S. Wilson
2000-12-15 23:11 Problems compiling perl module Compress-Zlib " Steve Kelem
2000-12-16 20:34 ` Charles S. Wilson
2000-12-17 10:03   ` Steve Kelem
2000-12-17 11:14     ` Charles S. Wilson
2000-12-17 11:23       ` Steve Kelem
2000-12-17 11:48         ` Charles S. Wilson
2000-12-17 13:12           ` Steve Kelem
2000-12-17 14:07             ` Gerrit P. Haase
2000-12-18 11:28           ` Steve Kelem
2000-12-18 16:17             ` Charles S. Wilson
2000-12-19  8:00               ` Steve Kelem
2000-12-17 12:07         ` Gerrit P. Haase
2000-12-17 13:05     ` Christopher Faylor
2000-12-17 13:17 Earnie Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).