I've gleaned this list of OS from the source:

BSD
DARWIN
DOS
HPUX
LINUX
OS2
OS2_GCC
SUNOS
UNIX
UNIX_COMPATIBLE
WIN
WIN_64
WIN_CE

The document files have sections called 'PLATFORMS' however I've seen the term 'platform' used in reference to a compiler.

My questions to the group are:

- is the list of currently recognized OS

Almost. Win64 doesn't count as a separate OS in terms of
Harbour. OS2_GCC is a wrong name, just ignore it. The
rest is fine and in sync with possible HB_ARCHITECTURE
values.

- is the term 'PLATFORM' synonymous with 'OS'
- is the term 'PLATFORM' in reference to/relation to a compiler the wrong term?

That's a though one, we use wrong terms many times in Harbour
and even that not very consistently. We use OS, PLATFORM and
ARCHITECTURE to refer to operating system. IMO OS is OS,
ARCHITECTURE should better be named CPU (or something analogous).
PLATFORM is about okay, although it's not precise.

OS2_GCC is f.e. a wrong name, just ignore it.

UNIX vs. UNIX_COMPATIBLE: hard to tell, but this may be possible
to clean to have only one of them (the former ideally).

[ BTW I plan to continue cleanup of these term internally, so
it's possible that ARCH will be changed to something else, if
less users will depend on this settings. ]

Brgds,
Viktor

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

Reply via email to