LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DEC OSF/I to Linux porting (https://www.linuxquestions.org/questions/linux-newbie-8/dec-osf-i-to-linux-porting-620866/)

wajid 02-13-2008 12:04 PM

DEC OSF/I to Linux porting
 
Hi All

I am looking for issues in porting C/C++ and perl/shell scripts from DEC OSF/I to Linux.
Any body who had got with any such sought of experince can please help me.

Thanks

chrism01 02-14-2008 11:44 PM

The main issue is usually I/O ie if you access the OS in such a way that you have hard-coded expectations of the dir structures, esp things like the /etc dir.
For Perl, it should be fairly transparent.
For shell, you need to (ideally) specify the same login shell in Linux as you have in OSF/1 (see the entry in /etc/passwd or equiv).
Changing shells isn't a total nightmare, but you'll have to test each file carefully (of course you'll be doing that anyway, right??)
C/C++ will probably be the hardest problem, unless there is a gcc compiler on there (OSF/1) and you are using it. gcc is the default on Linux.

wajid 02-16-2008 05:51 AM

Thank you very much Chris

yeah you are right the diffrence is OSF/1 has cc and Linux has gcc. I know and did few changes like in make file for this.
Can you please tell me other diffrences like in system calls, SIGNALS, behaviour of built in functions. If you provide me links also that will be sufficient. Please Eloborate on this.
I appritiate for your help.

Thanks and kind regards
Wajid


All times are GMT -5. The time now is 06:13 PM.