Porting IDL [message #12524] |
Wed, 12 August 1998 00:00  |
Bernard Puc
Messages: 65 Registered: January 1998
|
Member |
|
|
Hello,
Thanks for the replies concerning software version control. Here's
another query for the collective experience of the group: We are
considering porting our IDL application to a PC platform (written
for SGI workstation). Does anybody know if there would be
significant advantages in time and effort in coding if we ported to
a Linux platform in contrast to Win95?
--
Bernard Puc
AETC, Inc.
(703) 413-0500
bpuc@va.aetc.com
|
|
|
Re: Porting IDL [message #12611 is a reply to message #12524] |
Mon, 24 August 1998 00:00  |
David Foster
Messages: 341 Registered: January 1996
|
Senior Member |
|
|
Bernard Puc wrote:
>
> Hello,
> Thanks for the replies concerning software version control. Here's
> another query for the collective experience of the group: We are
> considering porting our IDL application to a PC platform (written
> for SGI workstation). Does anybody know if there would be
> significant advantages in time and effort in coding if we ported to
> a Linux platform in contrast to Win95?
Bernard -
If you're like most people, you write code that works on the machine
where you have to use it. With this in mind, I would think it would
be much more straightforward to port code from SGI to Linux than it
would be to port to Win95. But keep in mind that it probably won't
be a huge task to port to Win95 or any other OS for that matter;
mostly you have to account for different pathname conventions, and
strange quirks that may pop up one one platform or another.
One suggestion: look for instances of SPAWN in your code and see
if you are relying heavily on system calls like ls, test, etc.
Do a "fgrep -i spawn *.pro" in your development directories. If you
*are* using system calls a lot then porting to Win95 will be much
more work.
Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
|
|
|