MingW makefile
-
- Posts: 116
- Joined: Thu Oct 13, 2005 5:14 pm
- Location: Italy
MingW makefile
Hi Antonio,
where can I find (if it exists) mingw makefile to build fivewin library?
Thx in advance,
Roberto Parisi
where can I find (if it exists) mingw makefile to build fivewin library?
Thx in advance,
Roberto Parisi
-
- Posts: 116
- Joined: Thu Oct 13, 2005 5:14 pm
- Location: Italy
Re: MingW makefile
Antonio, is it possible? I read about your tries, can we go with it?
Regards,
Roberto Parisi
Regards,
Roberto Parisi
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: MingW makefile
Roberto,
These are the rules to build it:
These are the rules to build it:
Code: Select all
.PRG.O:
c:\harbour\bin\harbour.exe $< /L /N /W /Oobjg\ /I.\include;c:\harbour\include
c:\mingw\bin\gcc -c -Ic:\harbour\include -Ic:\mingw\include -oobjg\$&.o $&.c
c:\mingw\bin\ar rc .\lib\FiveHG.lib objg\$&.o
.C.O:
c:\mingw\bin\gcc -c -D__FLAT__ -D__HARBOUR__ -Ic:\mingw\include -Ic:\harbour\include -Ic:\fwh\include -oobjgc\$&.o $&.c
c:\mingw\bin\ar rc .\lib\FiveHGC.lib objgc\$&.o
.CPP.O:
c:\mingw\bin\gcc -c -D__FLAT__ -D__HARBOUR__ -Ic:\mingw\include -Ic:\harbour\include -Ic:\fwh\include -oobjgc\$&.o $&.cpp
c:\mingw\bin\ar rc .\lib\FiveHGC.lib objgc\$&.o
Re: MingW makefile
May I ask what MingW is?
Thanks in advance
Otto
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
-
- Posts: 116
- Joined: Thu Oct 13, 2005 5:14 pm
- Location: Italy
Re: MingW makefile
Thx Antonio.
I have still problems with inline asm... mingw seems want asm("...") instead _asm {...} sintax.
Have you already solved this issue?
Thx in advance,
Roberto Parisi
I have still problems with inline asm... mingw seems want asm("...") instead _asm {...} sintax.
Have you already solved this issue?
Thx in advance,
Roberto Parisi
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: MingW makefile
Roberto,
What files are failing to compile ?
What files are failing to compile ?
-
- Posts: 116
- Joined: Thu Oct 13, 2005 5:14 pm
- Location: Italy
Re: MingW makefile
I've got errors on CallDll.c
Another question... I know there are internal functions for fivehc.lib, how to make a working fivehc.lib with mingw?
Regards,
Roberto Parisi
Another question... I know there are internal functions for fivehc.lib, how to make a working fivehc.lib with mingw?
Regards,
Roberto Parisi
Re: MingW makefile
Sorry Antonio for the questions,
this Mingw we can compile with fwh ?
it is good than borland cc++ ?
this Mingw we can compile with fwh ?
it is good than borland cc++ ?
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: MingW makefile
Roberto,
If you need the libraries we can build them here for you.
Silvio,
Most of the different C compilers are very good. gcc is open source and free. Thats the main difference.
If you need the libraries we can build them here for you.
Silvio,
Most of the different C compilers are very good. gcc is open source and free. Thats the main difference.
-
- Posts: 116
- Joined: Thu Oct 13, 2005 5:14 pm
- Location: Italy
Re: MingW makefile
Yes Antonio, many thx.
I think it's the time to change to a more modern, fast and portable compiler against old and not updated bcc, so I want to test if mingw do the work without problems.
Regards,
Roberto Parisi
I think it's the time to change to a more modern, fast and portable compiler against old and not updated bcc, so I want to test if mingw do the work without problems.
Regards,
Roberto Parisi
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: MingW makefile
Roberto,
In FWH 8.10 we already published a MingW version but there was little interest about it,
Anyhow we are building it again and we will announce when it becomes available again as we have to recompile all modules using gcc and ususally there are compatibily issues.
In FWH 8.10 we already published a MingW version but there was little interest about it,
Anyhow we are building it again and we will announce when it becomes available again as we have to recompile all modules using gcc and ususally there are compatibily issues.
-
- Posts: 116
- Joined: Thu Oct 13, 2005 5:14 pm
- Location: Italy
Re: MingW makefile
Ok Antonio.
Many thx.
Roberto Parisi
Many thx.
Roberto Parisi