The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-07-2009
suresh_kb211 suresh_kb211 is offline
Registered User
  
 

Join Date: May 2009
Posts: 28
HP eqivalent of SUNWspro/bin/cc -G -o

Hi,

I had been using this command
Code:
/opt/SUNONE8/SUNWspro/bin/cc -G -o  abc.so ./abc.o

for creating .so files from .o files (compiled c files) in sun OS. Now i have to create the same in HP-UX. Please give me the HP equivalent tool/command which creates .so files like in SUN.

Thanks in Advance.
  #2 (permalink)  
Old 09-07-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 740
Search for HP-UX and gcc on altavista.com, one example is:
GCC for HP-UX 11i

A ready compiled and packaged version of gcc is also available for Solaris from Sunfreeware - Freeware Open Source Software for Sun Microsystem's Solaris if you want to use as similar a compiler as possible on both operating systems.
  #3 (permalink)  
Old 09-08-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,577
maybe -b option but

Code:
      -b             Generate shared library as output. Compiler generates
                     position-independent code (PIC). Is not compatible with
                     the +ESrel, -dynamic, -noshared options.

As suggested, I would give a go at gcc...
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:39 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0