Bjoern Hoehrmann <[EMAIL PROTECTED]> writes:
>* Nick Ing-Simmons wrote:
>>>ask for C compilation, which do not find iostream, string,
>>>and other standard C++ headers.
>>
>>That bit is faily easy. You need to override CC as g++ (or whatever
>>your C++ compiler is called - 
>>
>>WriteMakefile(
>>    'CC'                => 'g++',
>>    'LD                 => 'g++',
>>    ...);
>>
>>Similarly for Win32 with VC++ the is a command line flag to 'cl' 
>>which says to treat source as C++.
>
>Is there really no standard way to do this cross-platform?

Yes - g++ ;-)

(That has served me on MVS Mainframe, SPARC/Solaris, HPUX, Win32 and Linux, 
 which is as cross platfrom as I have ever got - but that wasn't perl/C++ stuff.)

Reply via email to