LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2008, 01:04 PM   #1
wajid
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
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
 
Old 02-15-2008, 12:44 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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.
 
Old 02-16-2008, 06:51 AM   #3
wajid
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel sycamorex Linux - Hardware 4 09-15-2007 03:49 PM
linux/osf.3974 Removal ? Mark007 Linux - Security 3 03-02-2005 03:56 AM
Linux Driver for DEC 21040-family ethernet cards red118a Linux - Hardware 7 03-14-2004 12:58 AM
Boot Linux on Dec Alpha 3300, 5300 JoeT Linux - General 2 08-19-2002 04:11 AM
Linux on Digital DEC legacy server LinWinUser Linux - General 3 06-12-2002 04:36 AM


All times are GMT -5. The time now is 10:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration