This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: trying to build a DLL on Windows 7 gcc using 3rd party libraries
- From: Ray Holme <rayholme at yahoo dot com>
- To: Kai Ruottu <kai dot ruottu at wippies dot com>, "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 3 May 2012 11:43:10 -0700 (PDT)
- Subject: Re: trying to build a DLL on Windows 7 gcc using 3rd party libraries
- References: <1335561263.42227.YahooMailNeo@web162804.mail.bf1.yahoo.com> <CAH8yC8n+=dH-GPt5AYwJEmivgfh5MZx_iXer2sRkbDnWdXDnnQ@mail.gmail.com> <1335643096.38011.YahooMailNeo@web162801.mail.bf1.yahoo.com> <1335704355.66941.YahooMailNeo@web162805.mail.bf1.yahoo.com> <4F9D5144.9090100@gmail.com> <1336062912.6860.YahooMailNeo@web162802.mail.bf1.yahoo.com> <4FA2CF93.9010308@wippies.com>
- Reply-to: Ray Holme <rayholme at yahoo dot com>
Got it and thanks. Downloading the 32 bit version when the server comes back up. Will notify all of the results. Hoping for sucess.
----- Original Message -----
From: Kai Ruottu <kai.ruottu@wippies.com>
To: gcc-help@gcc.gnu.org
Cc:
Sent: Thursday, May 3, 2012 2:33 PM
Subject: Re: trying to build a DLL on Windows 7 gcc using 3rd party libraries
3.5.2012 19:35, Ray Holme kirjoitti:
> I may have found the problem here, but I am in Microsoft land and am not sure of myself.
> It would appear that the version of gcc that I installed is 32 bit - the name is MINGW32.
> It would appear that the version of the firebird software is 64 bit so the libraries are 64 bit.
If the "firebird" means the following :
http://www.firebirdsql.org/en/firebird-2-5-1/
then there shouldn't be any mistake about what one has
downloaded and what not...
I downloaded both the 32-bit and 64-bit ZIP-packages and
looked if my 'i586-mingw32' target binutils could handle
these files. The result was :
- the 32-bit 'fbclient_ms.lib' could be viewed nicely with
? 'nm', 'objdump' etc.
- the 64-bit 'fbclient_ms.lib' could not be viewed with
? 'nm', 'objdump' etc.
Seemingly my GNU binutils for MinGW host/target were too old :
C:\opt\firebird64\lib>\opt\cross\i586-mingw32\bin\objdump --version
GNU objdump (Linux/GNU Binutils) 2.17.50.0.16.20070511
Generally I'm not aware of the 64-bit MinGW situation,
using the 32-bit 'Firebird-2.5.1.26351-0_Win32.zip' or
some earlier version could work with the 32-bit MinGW
tools, I think...