"John E. Malmberg" <[EMAIL PROTECTED]> wrote on 02/15/2005
03:21:01 PM:

> If anyone has any suggestions on an easy way to do this, please let me
> know.

I'd recommend rewriting config.h before you compile perl under GNV, later
you could modify the Configure script itself to recognize GNV as a
distinct osname.  Here for example is how perl 5.8.1 is built to recognize
VMS:

$ search PERL_ROOT:[LIB.VMS_AXP.5_8_1.CORE]config.h osname
/* OSNAME:
#define OSNAME "VMS"            /**/

Of course changing that and recompiling does not give you the flexibility
of
a symbol or logical that you requested.  However there is precedent for
such
a distinct setting of $^O.  Namely the Windows native port calls itself
'MSWin32' whereas the cygwin (GNU/bash et al) environment calls
itself 'cygwin' in perl's $^O variable.

Peter Prymmer

Reply via email to