>-----Original Message-----
>From: vszak...@users.sourceforge.net 
>[mailto:vszak...@users.sourceforge.net] 
>Sent: Sunday, February 15, 2009 10:27 PM
>To: harbour@harbour-project.org
>Subject: [Harbour] SF.net SVN: harbour-project:[10280] trunk/harbour
>
>Revision: 10280

[...]

>  * contrib/hbbtree/tests/hbmk.bat
>  * contrib/hbbtree/tests/test.prg
>    * Cleaned hbct dependency.

Viktor, in cguide.hlp file from OW 1.8 we can read :

>>>>>
The macros described below may be used to identify the target system for
which the application is being compiled.  (Note:  In several places in
the following text, a pair of underscore characters appears as __ which
resembles a single, elongated underscore.)

The Open Watcom C/C++ compilers support both 16-bit and 32-bit
application development.  The following macros are defined for 16-bit
and 32-bit target systems.  
    
      16-bit      32-bit
     ========    ========
[...]
     _M_IX86     _M_IX86
Notes:
1.      The __X86__ identifies the target as an Intel environment.
2.      The __I86__,  M_I86 and _M_I86 macros identify the target as a
16-bit Intel environment.
3.      The __386__,  M_I386 and _M_I386 macros identify the target as a
32-bit Intel environment.
4.      The _M_IX86 macro is identically equal to 100 times the
architecture compiler option value (/0, /1, /2, /3, /4, /5, etc.).  If
"/5" (Pentium instruction timings) was specified as a compiler option,
then the value of _M_IX86 would be 500.
The Open Watcom C/C++ compilers support application development for a
variety of operating systems.  The following macros are defined for
particular target operating systems.  
      
     Target      Macros
     ======      ======================================
     DOS         __DOS__, _DOS, MSDOS
[...]
     NT          __NT__
     Windows     __WINDOWS__, _WINDOWS, __WINDOWS_386__
     Linux       __LINUX__, __UNIX__
Notes:
1.      The __DOS__,  _DOS and MSDOS macros are defined when the build
target is "DOS" (16-bit DOS or 32-bit extended DOS).
[...]
9.      The __LINUX__ and __UNIX__ macros are defined when the build
target is "LINUX" (32-bit Linux).
>>>>>

My ask is :
Can we bulid with hbmk and above macro, Linux executable aplication
format (ELF ?) on Windows Platform ?

Regards,
Marek Horodyski
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to