This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

dlltool problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]