This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
dlltool problem
- To: gnu-win32 at cygnus dot com
- Subject: dlltool problem
- From: Michal Kouril <michal at dkslwz dot cr dot usgs dot gov>
- Date: Tue, 21 Jul 1998 10:32:20 -0500
Hey,
look at this:
bash.exe-2.01$ make
gcc -c my.c
gcc -c dll_init.c
ld -s --base-file my.base --dll -o my.dll my.o dll_init.o -lcygwin
-lkernel32 -e _dll_entry@12
dlltool --as=as --dllname my.dll --def my.def --base-file my.base
--output-exp test/my.exp
dlltool: Unable to open output file ttest/my.exp
^!!!
make: *** [my.dll] Error 1
bash.exe-2.01$
It always put one "t" letter when I supply directory in --output-exp
parameter.
I have latest cdk.exe installed with latest cygwinb19.dll (ver 19.1).
mk
dll_init.c
all: my.dll
%.o: %.c
gcc -c $*.c
my.dll: my.o dll_init.o
ld -s --base-file my.base --dll -o my.dll my.o dll_init.o -lcygwin -lkernel32 -e _dll_entry@12
dlltool --as=as --dllname my.dll --def my.def --base-file my.base --output-exp test/my.exp
my.c
my.def