comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Is System Dependent Compilation Possible?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Is System Dependent Compilation Possible? [message #6110] Wed, 24 April 1996 00:00 Go to previous message
Tim Patterson is currently offline  Tim Patterson
Messages: 65
Registered: October 1995
Member
I have a tool written in IDL/Fortran and C that needs to
run on both Unix and VMS systems. I have a few system
dependent IDL procedures that I use as wrappers for the
CALL_EXTERNALS.

What I would like to do is have a batch file, say
compile.pro, which can be invoked with @compile.pro
and will compile the correct version of wrappers
depending upon the OS, e.g.


IF !version.os EQ 'vms' then begin

.run vms_version.pro

ENDIF ELSE BEGIN

.run unix_version.pro

ENDELSE


Unfortunately, I can't seem to come up with anything
that even approaches this.

IF !version.os EQ 'vms' then .run vms_version.pro

produces an error.


Anybody got any ideas?

Thanks

Tim
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: quick testing of string variables
Next Topic: Colour buttons in an IDL widget...how?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:56:51 PDT 2025

Total time taken to generate the page: 7.19909 seconds