Page 1 of 1

Rebuild FiveHC32

Posted: Fri Nov 09, 2012 5:10 pm
by Roberto Parisi
Hi Antonio,
I need to rebuild FivehC32 (I miss some functions), do you have any makefile?

Regards,
Roberto Parisi

Re: Rebuild FiveHC32

Posted: Fri Nov 09, 2012 7:01 pm
by Antonio Linares
Roberto,

Are you using Borland, Microsoft or GNU ?

Re: Rebuild FiveHC32

Posted: Fri Nov 09, 2012 7:07 pm
by Roberto Parisi
I'm using MSVC.

Re: Rebuild FiveHC32

Posted: Fri Nov 09, 2012 7:52 pm
by Antonio Linares
Roberto,

Our FWH make file is quite complex. Also keep in mind that not all the C files are provided.

In case that you want to compile and store a C file in the lib then you can do:
echo -c -D__HARBOUR__ -D__FLAT__ $(LEGACY) -I$(HDIR)\include -I.\source\internal\include > tmp
echo -I"$(VCDIR)"\include -I.\include -I"$(SDKDIR)"\include /Gs20000 >> tmp
if exist "$(VCDIR)"\bin\cl.exe "$(VCDIR)"\bin\cl @tmp -Foobjhc32\$& $<
if exist "$(VCDIR)"\bin\lib.exe "$(VCDIR)"\bin\Lib lib\Fivehc32.lib /OUT:lib\Fivehc32.lib objhc32\$&.obj

Re: Rebuild FiveHC32

Posted: Sat Nov 10, 2012 11:53 am
by Roberto Parisi
Ok, I rebuilt correctly (almost all files) FWH32 and FWHC32.

Thx,
Roberto Parisi