incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <Farid_Zari...@epam.com>
Subject RE: Cygwin cannot find -lstd12d
Date Mon, 05 Mar 2007 18:28:29 GMT
> -----Original Message-----
> From: Mark Brown [mailto:mbrown@inbox.com] 
> Sent: Friday, March 02, 2007 8:15 AM
> To: stdcxx-dev@incubator.apache.org
> Subject: Cygwin cannot find -lstd12d
> 
> Sorry about all the emails tonight. I'm sending them out as I 
> run into things. Hopefully they'll be useful. After the 
> library built all examples are now getting the same error. 
> Looks like the Cygwin linker can't find the library even 
> though it's there (I checked :)

  There exist libstd12d.so which is DLL file, but linker requires
the libstd12d.a file (import library).

> 
> $ make
> gcc -c -I/home/mbrown/stdcxx/include/ansi   -mthreads 
> -D_RWSTD_USE_CONFIG -I/home/mbrown/stdcxx/include 
> -I/home/mbrown/stdcxx-12d/include 
> -I/home/mbrown/stdcxx/examples/include  -pedantic -nostdinc++ 
> -O2  -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings 
> -Wno-long-long -Wcast-align   
> /home/mbrown/stdcxx/examples/manual/accumulate.cpp
> 
> (...lots of warnings about failed inlining...)
> 
> gcc accumulate.o -o accumulate -mthreads 
> -L/home/mbrown/stdcxx-12d/lib -lstd12d  -lsupc++ -lcatgets -liconv -lm
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/b
> in/ld: cannot find -lstd12d
> collect2: ld returned 1 exit status
> make: *** [accumulate] Error 1

Farid.

Mime
View raw message