libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: questions about DLLs built with libtool - multiple output files...


From: Ed Hartnett
Subject: Re: questions about DLLs built with libtool - multiple output files...
Date: Wed, 19 Jul 2006 14:35:36 -0600
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Howdy all!

I am still trying to get my library to build on cygwin with mingw
tools.

I am getting two errors. One is the gcc.exe is not recognizing the
-no-cygwin option. Should it?

Another is that convenience library libnetcdf2.a is not found, yet
there it is...

THanks for any help...

Ed

libtool: compile:  gcc -no-cygwin -DHAVE_CONFIG_H
-I. -I. -I.. -I../fortran -g -O2 -MT v2i.lo -MD -MP -MF .deps/v2i.Tpo
-c v2i.c 
gcc.exe: unrecognized option `-no-cygwin'
libtool: compile: mv -f "v2i.o" ".libs/v2i.o"
libtool: compile:  gcc -no-cygwin -DHAVE_CONFIG_H
-I. -I. -I.. -I../fortran -g -O2 -MT v2i.lo -MD -MP -MF .deps/v2i.Tpo
-c v2i.c >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link gcc -no-cygwin  -g -O2   -o
libnetcdf2.la   v2i.lo  
libtool: link: rm -fr  .libs/libnetcdf2.a .libs/libnetcdf2.la
libtool: link: ar cru .libs/libnetcdf2.a .libs/v2i.o 
libtool: link: ranlib .libs/libnetcdf2.a
libtool: link: creating libnetcdf2.la
libtool: link: ( cd ".libs" && rm -f "libnetcdf2.la" && ln -s
"../libnetcdf2.la" "libnetcdf2.la" )
/bin/sh ../libtool --tag=CC --mode=link gcc -no-cygwin  -g -O2   -o
libnetcdf.la -rpath /usr/local/lib -version-info 3:6:2 -no-undefined
attr.lo ncx.lo putget.lo dim.lo error.lo libvers.lo nc.lo string.lo
v1hpg.lo var.lo posixio.lo libnetcdf2.la 
libtool: link: rm -fr  .libs/libnetcdf.dll.a .libs/libnetcdf.lax
libtool: link: gcc -no-cygwin -shared  .libs/attr.o .libs/ncx.o
.libs/putget.o .libs/dim.o .libs/error.o .libs/libvers.o .libs/nc.o
.libs/string.o .libs/v1hpg.o .libs/var.o .libs/posixio.o
-Wl,--whole-archive ./.libs/libnetcdf2.a -Wl,--no-whole-archive     -o
.libs/libnetcdf-1.dll -Wl,--enable-auto-image-base -Xlinker
--out-implib -Xlinker .libs/libnetcdf.dll.a
Creating library file: .libs/libnetcdf.dll.a
gcc.exe: unrecognized option `-no-cygwin'
libtool: link: (cd .libs/libnetcdf.lax/libnetcdf2.a && ar x
/home/ed/netcdf-3/libsrc/./.libs/libnetcdf2.a)
/home/ed/netcdf-3/libsrc/./.libs/libnetcdf2.a: No such file or
directory
c:\MinGW\bin\ar.exe: make[2]: *** [libnetcdf.la] Error 9
make[2]: Leaving directory `/home/ed/netcdf-3/libsrc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ed/netcdf-3'
make: *** [all] Error 2
bash-3.1$ ls -l /home/ed/netcdf-3/libsrc/./.libs/libnetcdf2.a
-rwxrwxrwx 1 ed None 37172 Jul 19 14:22
/home/ed/netcdf-3/libsrc/./.libs/libnetcdf2.a
bash-3.1$ which gcc
/cygdrive/c/MinGW/bin/gcc
bash-3.1$ echo $PATH
/usr/local/bin:/usr/X11R6/bin:/cygdrive/c/MinGW/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program
Files/ATI Technologies/ATI Control Panel:/cygdrive/c/Program
Files/Common Files/GTK/2.0/bin:/cygdrive/c/PROGRA~1/SecureFX
bash-3.1$ 
-- 
Ed Hartnett  -- address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]