[Top][All Lists]
[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: |
Earnie Boyd |
Subject: |
Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc..." |
Date: |
Mon, 23 Sep 2002 06:51:51 -0400 |
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 with my GLib stuff, is that libtool.m4 is rather
> out-of-date with respect to MinGW. Fortunately, the cygwin sections are more
> up-to-date, so its just a matter of borrowing or sharing cygwin cod for the
> most
> part.
>
> I attach a patch of my current tweaks to libtool.m4 and ltmain.sh. It is
> *only a
> Work-in Progess*. I am posting it without cleanup as food for though in this
> discussion.
>
Max, this portion needs a little work
@@ -1113,10 +1113,19 @@
version_type=windows
need_version=no
need_lib_prefix=no
+ # This is a feature of Win32, not of Cygwin
+ shlibpath_overrides_runpath=yes
+ case $GCC,$host_os,$CC in
+ yes,cygwin*,* | yes,mingw*,gcc*-mno-cygwin*)
+ sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
+ ;;
For conditional yes,mingw*,gcc*-mno-cygwin*
sys_lib_searc_path_spec="/lib/mingw /lib/w32api /usr/lib/mingw
/usr/local/lib/mingw"
+ yes,mingw*,*)
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep
"^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
+ ;;
+ esac
HTH,
Earnie.
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: BuildingaMinGW GLibetc...", (continued)
- 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
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLibetc...", Earnie Boyd, 2002/09/17
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLibetc...", Bob Friesenhahn, 2002/09/17
- Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLibetc...", Guido Draheim, 2002/09/17
- Re: "Re: libbfd, libtool & Win32" and "Re: Building a MinGW GLib etc...",
Earnie Boyd <=
- Re: libbfd, libtool & Win32, Guido Draheim, 2002/09/16