Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc..."

2002-09-23 Thread Earnie Boyd
Max Bowsher wrote: > > Earnie Boyd wrote: > [ stuff about impgen ] > > So, why isn't dlltool being used? BTW, dllwrap is deprecated. > > > > Current versions of GCC require -shared in the link step to produce the > > dll. The -dll -mdll switches are deprecated. > > One of the things I ran into

Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc..."

2002-09-17 Thread David Olofson
On Tuesday 17 September 2002 13:01, Max Bowsher wrote: [...] > $ echo '__declspec(dllexport) void foo () {}' > foo.c > $ gcc -shared foo.c -o foo.dll > $ objdump -p foo.dll | fgrep -A 5 Characteristics [...] It worked on my 2.95.2 collector's item cross compiler... Oh, and the export table does

Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc..."

2002-09-17 Thread Max Bowsher
Guido Draheim wrote: > How old may a gcc/binutils pair be? My oldest crosscompilers > are gcc 2.95.3 and ld --version reports 2.11.90.8. And for > all I know, these are in fact the oldest versions around, > no one want to go back beyond, I guess. > > Is that enough, Max? Test: $ echo '__declspec