Using this wrapper is easy usable for universal interface for xmate
(hbmk) C_COMP,C_LINK,C_DLL but not have a wrapper for  C_LIB_ & C_RC_
I hope that i  have understand correctly
Have same you a suggestion Przemyslaw ?

---------------C section of  Borland c env ------------------------------------
C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe %CRLF% -c -O2 -OS -d -5 -6
-a8 %CRLF% -I%HB_INC_INSTALL%;%C_INC_INSTALL% %CRLF% -n%OBJDIR% %C%
C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -ap -Tpe /I%DBGDIR%
/L%HB_LIB_INSTALL% %cr...@%lnk%
C_DLL_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpd -M
-L%C_LIB_INSTALL% @%LNK%

C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST%
C_RC_COMMAND=%C_BIN_INSTALL%\Brc32.Exe -r  -fo%RES%  %RC%

2009/3/3 Przemyslaw Czerpak <[email protected]>:
> On Tue, 03 Mar 2009, Szak�ts Viktor wrote:
>
>
>   "hbcc" is a wrapper to the C compiler only. It sets all flags
>   and paths necessary to compile .c files which include Harbour header
>   files. The result of its work is an object file.
>
>   Use "hbcmp" exactly as you would use the harbour compiler itself.
>   The main difference with hbcmp is that it results in an object file,
>   not a C file that needs compiling down to an object. hbcmp also
>   ensures that the harbour include directory is seen by the harbour compiler.
>
>   "hblnk" simply takes a list of object files and links them together
>   with the harbour virtual machine and run-time library to produce an
>   executable. The executable will be given the basename of the first object
>   file if not directly set by the "-o" command line switch.
>
> hbcc as script cannot be used for .prg files so here you can extend it
> and add such support generating .c file as result of Harbour compiler
> execution but this will be an hbmk2 extension.
>
> best regards,
> Przemek
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Massimo Belgrano
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to