First tests with MinGW (gcc for Windows)
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Antonio ,Antonio Linares wrote:We already have a first release of FWH built with MinGW
And it is working really fine!
It is going to be provided as a beta to the users of the just published FWH 8.09
Just request - can we get a bat or instruction for rebuilding older FWH libs ?
With best regards ! Rimantas
Rimantas U.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Enrico,
c:\MinGW\bin>gcc --version
gcc (GCC) 3.4.5 (mingw-vista special r3)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
There is a more recent version that can be installed, but they say that one is the "current" one (we guess it means "stable one").
c:\MinGW\bin>gcc --version
gcc (GCC) 3.4.5 (mingw-vista special r3)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
There is a more recent version that can be installed, but they say that one is the "current" one (we guess it means "stable one").
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Rimantas,
> Just request - can we get a bat or instruction for rebuilding older FWH libs ?
The entire FWH has to be recompiled, and we had to implement many changes in the source code, to solve errors and warnings.
You can not mix MinGW gcc OBJs (they use .O extension) with Borland or Microsoft ones.
So there is no way to provide a batch for such work.
> Just request - can we get a bat or instruction for rebuilding older FWH libs ?
The entire FWH has to be recompiled, and we had to implement many changes in the source code, to solve errors and warnings.
You can not mix MinGW gcc OBJs (they use .O extension) with Borland or Microsoft ones.
So there is no way to provide a batch for such work.
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
As I said, it is very old (four years ago!). The latest version of GCC is 4.3.2 released on August 27 2008. I'm wondering if MinGW is still an active project...Antonio Linares wrote:c:\MinGW\bin>gcc --version
gcc (GCC) 3.4.5 (mingw-vista special r3)
Copyright (C) 2004 Free Software Foundation, Inc.
EMG
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Enrico,
The Borland 5.5 version is back from 2000 !!!
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
According to MinGW SourceForge repository, recent activity is from some weeks ago:
http://mingw.cvs.sourceforge.net/mingw/MinGW/
http://mingw.cvs.sourceforge.net/mingw/mingw-get/
The Borland 5.5 version is back from 2000 !!!
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
According to MinGW SourceForge repository, recent activity is from some weeks ago:
http://mingw.cvs.sourceforge.net/mingw/MinGW/
http://mingw.cvs.sourceforge.net/mingw/mingw-get/
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Yes, I know.Antonio Linares wrote:Enrico,
The Borland 5.5 version is back from 2000 !!!
Ok. Let's hope they will update GCC soon.Antonio Linares wrote:According to MinGW SourceForge repository, recent activity is from some weeks ago:
http://mingw.cvs.sourceforge.net/mingw/MinGW/
http://mingw.cvs.sourceforge.net/mingw/mingw-get/
EMG
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Enrico,
If you visit: http://www.mingw.org/ you can read this
Recent File Releases
MinGW Runtime Current Release: mingw-runtime-3.15 released (Mon, 08 Sep 2008 00:14:45 GMT)
MinGW API for MS-Windows Current Release: w32api-3.12 released (Mon, 08 Sep 2008 00:03:46 GMT)
MSYS Base System Technology Preview: MSYS-1.0.11 released (Thu, 28 Aug 2008 01:26:45 GMT)
If you visit: http://www.mingw.org/ you can read this
Recent File Releases
MinGW Runtime Current Release: mingw-runtime-3.15 released (Mon, 08 Sep 2008 00:14:45 GMT)
MinGW API for MS-Windows Current Release: w32api-3.12 released (Mon, 08 Sep 2008 00:03:46 GMT)
MSYS Base System Technology Preview: MSYS-1.0.11 released (Thu, 28 Aug 2008 01:26:45 GMT)
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
What is your intention ?
Antonio,
You said in an earlier post that you had to re-write much of the source code to make this work.
Does that mean you are planning a separate version to work with this compiler, or are you intending to drop support for the Microsoft and Borland versions we currently use.
Since I'm using xBuilder, I would hope that FWH would continue to be compatible with that product and the Pelles compiler it includes.
Tim
You said in an earlier post that you had to re-write much of the source code to make this work.
Does that mean you are planning a separate version to work with this compiler, or are you intending to drop support for the Microsoft and Borland versions we currently use.
Since I'm using xBuilder, I would hope that FWH would continue to be compatible with that product and the Pelles compiler it includes.
Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Tim,
What I have commented is that gcc detects warnings that Borland and Microsoft don't detect, so we used that valuable info to improve our source code, but the same set of C source code is used for Borland, Microsoft and gcc.
We plan to keep using Borland and Microsoft (this one is compatible with xHB, but using VC98 !!!) as usual but we are going to offer a FWH based on gcc too, for those who want to migrate to gcc.
What I have commented is that gcc detects warnings that Borland and Microsoft don't detect, so we used that valuable info to improve our source code, but the same set of C source code is used for Borland, Microsoft and gcc.
We plan to keep using Borland and Microsoft (this one is compatible with xHB, but using VC98 !!!) as usual but we are going to offer a FWH based on gcc too, for those who want to migrate to gcc.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Enrico,
I just read in a MinGW forum that it is possible to download the most recent gcc sources and build them with the MinGW gcc compiler. Really cool: using an older gcc version to build the most recent gcc
http://www.nabble.com/64-bit-MinGW-on-6 ... 95954.html
"... I have built binutils 2.17.20070629 and GCC
4.3.0 from sources checked out about an hour ago. Both were built using
MinGW's GCC 3.4.5 rather than the Cygwin GCC in case that makes a
difference. ..."
I just read in a MinGW forum that it is possible to download the most recent gcc sources and build them with the MinGW gcc compiler. Really cool: using an older gcc version to build the most recent gcc
http://www.nabble.com/64-bit-MinGW-on-6 ... 95954.html
"... I have built binutils 2.17.20070629 and GCC
4.3.0 from sources checked out about an hour ago. Both were built using
MinGW's GCC 3.4.5 rather than the Cygwin GCC in case that makes a
difference. ..."