help - back to harbour and ms c

help - back to harbour and ms c

Postby norberto » Thu Aug 20, 2009 2:33 am

hi, i use xharbour cvs and borland c 551 for several years, but now, i want back to harbour and , if possible, change to microsoft c, someone has some guidelines? tips? how to down cvs of harbour? compile, link...

very thanks
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Re: help - back to harbour and ms c

Postby Antonio Linares » Thu Aug 20, 2009 7:12 am

Norberto,

To download Harbour from its SVN server you can use this checkout.bat:

"C:\Program Files"\SVN\bin\svn.exe checkout https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour

svn.exe is available from here:
http://www.fivetechsoft.com/files/software/svn.zip
regards, saludos

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

Re: help - back to harbour and ms c

Postby norberto » Thu Aug 20, 2009 12:39 pm

Antonio, very thanks, i will try this... could you or someone help me with migrate to microsoft C? or some link about this. very thanks again.
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Re: help - back to harbour and ms c

Postby Antonio Linares » Thu Aug 20, 2009 12:44 pm

Norberto,

Simply review FWH\samples\buildhm.bat

It is quite easy :-)
regards, saludos

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

Re: help - back to harbour and ms c

Postby norberto » Thu Aug 20, 2009 12:56 pm

Antonio, very thanks, one last question: exists an trial version or free version of microsoft C? to use with harbour i use only command line compiler , right? if dont exist, which version i can buy?? thanks again.
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Re: help - back to harbour and ms c

Postby Antonio Linares » Thu Aug 20, 2009 1:11 pm

Norberto,

Yes, Microsoft uses to include cl.exe, link.exe, libraries and include files in Visual Studio demo versions.

Those files are the ones that you just need.
regards, saludos

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

Re: help - back to harbour and ms c

Postby Lautaro » Thu Aug 20, 2009 2:13 pm

Norberto,

You can download windows sdk, inside ( normaly in c:\program files\microsoft sdks\windows\v6.0\vc ) is the visual c compiler and other tools, or you can download visual c++ express it's free.


Atte.,

Lautaro Moreira
User avatar
Lautaro
 
Posts: 322
Joined: Fri Oct 07, 2005 2:44 pm
Location: Osorno, Chile

Re: help - back to harbour and ms c

Postby norberto » Thu Aug 20, 2009 6:48 pm

HI, after some tests, i get this :

rtl.lib : fatal erro lnk1136: invalid or corrupt file

i should compile all xharbour libs with ms vc??
thanks
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Re: help - back to harbour and ms c

Postby Lautaro » Thu Aug 20, 2009 7:58 pm

Norberto,

You need a xharbour build with msvc, or rebuild yourself.


Atte.,

Lautaro
User avatar
Lautaro
 
Posts: 322
Joined: Fri Oct 07, 2005 2:44 pm
Location: Osorno, Chile

Re: help - back to harbour and ms c

Postby anserkk » Fri Aug 21, 2009 5:02 am

If you are going to use Microsoft C/C++ Compiler instead of Borland then

I think instead of
FiveHc.Lib you have to use FiveHcM.Lib
FiveHx.Lib you have to use FiveHxM.Lib

And if u r going to use Harbour instead of xHarbour then instead of ,
FiveH.Lib you have to use FiveHM.Lib

Regards
Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 107 guests