[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a
From: |
Earnie Boyd |
Subject: |
Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLibetc..." |
Date: |
Tue, 17 Sep 2002 15:13:28 -0400 |
Guido Draheim wrote:
>
> Max Bowsher wrote:
> > 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 real problem is in a `gcc -shared foo.c -o foo.dll -lz`
> and whether gcc can find the zlib dll, and link it even
> when no .dll.a is available, with just the dll being present.
>
libfoo.dll.a should represent the import library. libfoo.a should
represent the static library. libfoo.dll is also able to be used for
the import library. I forget the ld search order, libfoo.dll.a,
libfoo.a then libfoo.dll or is it libfoo.dll.a, libfoo.dll then
libfoo.a, IIRC, it's the former and not the latter. If that is the
case a libfoo.a that is truely a static library will be used instead of
the shared library libfoo.dll.
> The zlib is probably a good example - quite some portable
> software makes use of it, including my http://zziplib.sf.net
>
Then you should know.
Earnie.
- Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc...", (continued)
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc...", Earnie Boyd, 2002/09/16
- Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc...", Guido Draheim, 2002/09/16
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLibetc...", Earnie Boyd, 2002/09/16
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLibetc...", Guido Draheim, 2002/09/16
- Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc...", Max Bowsher, 2002/09/17
- Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc...", David Olofson, 2002/09/17
- Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc...", Guido Draheim, 2002/09/17
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLibetc...",
Earnie Boyd <=
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLibetc...", Guido Draheim, 2002/09/17
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Buildinga MinGW GLibetc...", Earnie Boyd, 2002/09/17
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Buildinga MinGW GLibetc...", Guido Draheim, 2002/09/17
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: BuildingaMinGW GLibetc...", Earnie Boyd, 2002/09/17
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: BuildingaMinGW GLibetc...", Guido Draheim, 2002/09/17
- Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc...", Earnie Boyd, 2002/09/16
- Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc...", Guido Draheim, 2002/09/16
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLibetc...", Earnie Boyd, 2002/09/16
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLibetc...", Guido Draheim, 2002/09/16
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLibetc...", Max Bowsher, 2002/09/17