Re: DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Elfyn McBratney
> That didn't seem to work. I'm still confused as to why the > --enable-stdcall-fixup flag doesn't appear to be working. > > [...] > > > > Both the extern prototype and the function call are in dllhello.C. > Thus > it > > does see the prototype. As a further note and after further testing, > if

Re: DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Elfyn McBratney
> "Elfyn McBratney" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > I think I'm making marvelous progress. Unfortunately, I'm getting > an > > > error that doesn't make sense: > > > > > > $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o > > > other.dll -Wl,--out-implib,l

Re: DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Wil Hunt
"Elfyn McBratney" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I think I'm making marvelous progress. Unfortunately, I'm getting an > > error that doesn't make sense: > > > > $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o > > other.dll -Wl,--out-implib,libdllhello.a -Wl

Re: DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Elfyn McBratney
> I think I'm making marvelous progress. Unfortunately, I'm getting an > error that doesn't make sense: > > $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o > other.dll -Wl,--out-implib,libdllhello.a -Wl,--enable-stdcall-fixup > Creating library file: libdllhello.a > dllhello.o(.text+0x164)

Re: DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Larry Hall (RFK Partners, Inc.)
Wil Hunt wrote: Hello again, I think I'm making marvelous progress. Unfortunately, I'm getting an error that doesn't make sense: $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o other.dll -Wl,--out-implib,libdllhello.a -Wl,--enable-stdcall-fixup Creating library file: libdllhello.a dllhell

DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Wil Hunt
Hello again, I think I'm making marvelous progress. Unfortunately, I'm getting an error that doesn't make sense: $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o other.dll -Wl,--out-implib,libdllhello.a -Wl,--enable-stdcall-fixup Creating library file: libdllhello.a dllhello.o(.text+0x164