The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > 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.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
RPM For HPUX harishkumar UNIX and Linux Applications 2 12-13-2007 10:20 AM
gdb for HPUX 11.23 rimon HP-UX 0 11-11-2007 06:59 AM
New to HPUX carryclare UNIX for Dummies Questions & Answers 1 12-20-2005 09:57 AM
HPUX any help newbird HP-UX 1 02-06-2005 03:36 PM
HPUX 10.20 et HPUX 11 Olivier UNIX for Dummies Questions & Answers 2 03-27-2002 04:30 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-08-2006
Registered User
 

Join Date: Feb 2006
Posts: 35
CCOPTS in HPUX

Hi
i am using a mkefile to build my exe which Using the POSIX Shell.

CCOPTS="-Ae -O -IH.LIBRARY -D_POSIX_C -D_SOCKET_C"


it is not building with this CCOPTS
can anybody help me regarding the whether CCOPTS given above is correct or not

Can you tell more in CCOPTS

Many thanks
Naren
Reply With Quote
Forum Sponsor
  #2  
Old 03-15-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
First off:
Code:
export CCOPTS="-Ae -O -IH.LIBRARY -D_POSIX_C -D_SOCKET_C"
if the -O is a zero, it will fail otherwise you're setting optimization to level 2.

-Ae uses "extended" ANSI C - for older version of HPUX this means things like long long datatype

The -IH.LIBRARY means to search a folder named H.LIBRARY that is in the PATH. It's better to specify the fully qualified path like -I /path/to/H.LIBRARY

The other two options are creating #define _POSIX_C and #define _SOCKET_C
as if they were in the source.

Whether all of this is correct I have no idea.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0