This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: cooperation of cygwin and NuTCracker ??
- To: Frank Moehle <Frank dot Moehle at Informatik dot Uni-Oldenburg dot DE>, cygwin at sources dot redhat dot com
- Subject: Re: cooperation of cygwin and NuTCracker ??
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Wed, 11 Oct 2000 06:46:20 -0700 (PDT)
--- Frank Moehle <Frank.Moehle@Informatik.Uni-Oldenburg.DE> wrote:
> Hello,
Hi Frank,
>
> We are going to use cygwin to port a set of unix programs from
> solaris to Windows NT. (Un)fortunately, we use a library from
> am external product. This Product has also been ported from solaris
> to NT, but using "NuTCracker".
> We only have access to the final .DLL of this external product
> (of cource shipped with the NuTCracker runtime enviroment).
>
I don't know NuTCracker but I do see a problem.
>
> ----
> API_OBJ = anaport.a
> API_DLL_NAME = anaport.dll
> API_DLL = /cygdrive/y/stmm/misc/ANAPORT/$(API_DLL_NAME)
> API_DEF = anaport.def
>
> $(API_OBJ): $(API_DEF)
> dlltool --def $< --dllname $(API_DLL_NAME) \
> --output-lib $@ $(API_DLL)
>
> $(API_DEF): $(API_DLL)
> echo EXPORTS > $@
> nm $< | grep ' T _stmm' | sed 's/.* T _//' >> $@
> -----
>
> and the went on as usual:
>
> ----
> LIBRARIES = -l<our own stuff.a> -lm
>
The problem is that you've use -lm. Currently the libm.a is a symbolic link to
libcygwin.a and ld can't manage the same library with different names. Remove
the -lm and see if that helps.
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!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com