libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Max Bowsher
Subject: Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc..."
Date: Tue, 17 Sep 2002 12:01:34 +0100

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(dllexport) void foo () {}' > foo.c
$ gcc -shared foo.c -o foo.dll
$ objdump -p foo.dll | fgrep -A 5 Characteristics

The first chunk of the fgrepped objdump output should contain something like:
| Characteristics 0x2006
|         executable
|         line numbers stripped
|         DLL

The gcc completing without errors is probably enough, though. The objdump is
just confirmation.


Max.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]