MingW makefile

MingW makefile

Postby Roberto Parisi » Mon Mar 15, 2010 5:36 pm

Hi Antonio,
where can I find (if it exists) mingw makefile to build fivewin library?

Thx in advance,
Roberto Parisi
Roberto Parisi
 
Posts: 116
Joined: Thu Oct 13, 2005 5:14 pm
Location: Italy

Re: MingW makefile

Postby Roberto Parisi » Sat Mar 20, 2010 9:16 am

Antonio, is it possible? I read about your tries, can we go with it?

Regards,
Roberto Parisi
Roberto Parisi
 
Posts: 116
Joined: Thu Oct 13, 2005 5:14 pm
Location: Italy

Re: MingW makefile

Postby Antonio Linares » Sat Mar 20, 2010 2:56 pm

Roberto,

These are the rules to build it:
Code: Select all  Expand view
.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
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MingW makefile

Postby Otto » Sat Mar 20, 2010 6:38 pm

May I ask what MingW is?
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: MingW makefile

Postby Antonio Linares » Sat Mar 20, 2010 6:50 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MingW makefile

Postby Roberto Parisi » Sun Mar 21, 2010 11:40 am

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
Roberto Parisi
 
Posts: 116
Joined: Thu Oct 13, 2005 5:14 pm
Location: Italy

Re: MingW makefile

Postby Antonio Linares » Sun Mar 21, 2010 1:01 pm

Roberto,

What files are failing to compile ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MingW makefile

Postby Roberto Parisi » Sun Mar 21, 2010 2:22 pm

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
Roberto Parisi
 
Posts: 116
Joined: Thu Oct 13, 2005 5:14 pm
Location: Italy

Re: MingW makefile

Postby Silvio » Mon Mar 22, 2010 12:51 pm

Sorry Antonio for the questions,

this Mingw we can compile with fwh ?

it is good than borland cc++ ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: MingW makefile

Postby Antonio Linares » Mon Mar 22, 2010 1:06 pm

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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MingW makefile

Postby Roberto Parisi » Mon Mar 22, 2010 1:25 pm

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
Roberto Parisi
 
Posts: 116
Joined: Thu Oct 13, 2005 5:14 pm
Location: Italy

Re: MingW makefile

Postby Antonio Linares » Tue Mar 23, 2010 2:56 pm

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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MingW makefile

Postby Roberto Parisi » Tue Mar 23, 2010 3:04 pm

Ok Antonio.

Many thx.

Roberto Parisi
Roberto Parisi
 
Posts: 116
Joined: Thu Oct 13, 2005 5:14 pm
Location: Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Silvio.Falconi and 111 guests