programming in C, C++ on AIX 6.1 requirments


 
Thread Tools Search this Thread
Top Forums Programming programming in C, C++ on AIX 6.1 requirments
# 1  
Old 02-07-2011
programming in C, C++ on AIX 6.1 requirments

I want to start programming in C, C++ on AIX 6.1 and I want to know what I need to install on the server to do so. Do I only need to install "gcc" GNU Compiler Collection & "gcc-c++" C++ support for GCC. or do I also need "libgcc" GCC compiler dynamic runtime library? am I missing any files to install?
# 2  
Old 02-07-2011
You want to install the whole GCC package. Look for a trustworth site with binaries or compile it up yourself. Sometimes the binaries need root, like for solaris packages, others anyone can lay down anywhere. If you build, you can set your own local tree of bin/, lib/, man/:
Code:
$ ls -d local/*/
local/bin/      local/etc/      local/info/     local/man/      local/share/
local/doc/      local/include/  local/lib/      local/openssl/  local/vnc/
$

There are compile time libraries, and run time libraries. There are prerequisite packages.

There is a runtime-only libgcc set to assist in installing your code into machines without compiler install, but the base package should have it.

Here, for example, is a trustworthy binary source for HPUX:
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.3/
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

AIX runtime programming issue

I hope my title is accurate enough. I have a product that we port to various UNIX platforms. It is known to run on AIX but using the IBM compiler from years ago. Recently we got a different used AIX P5 platform running AIX 5.3 and we setup the GCC compiler (4.4.5 I think). C and C++ source code.... (5 Replies)
Discussion started by: Pug
5 Replies

2. UNIX for Dummies Questions & Answers

From iOS programming to Linux system programming

Hello. I like Linux and C programming language. Allways wanted to understand kernel and become a Linux system programmer. And I also like Objective-C and iOS. These two programming areas have relations: 1. Linux and iOS are UNIX-like systems, POSIX compliant. 2. It is useful to know C language... (2 Replies)
Discussion started by: Rockatansky
2 Replies

3. Programming

Shell programming ksh AIX - beginner

Hi! I have two shell scripts - Script1, Script2 Script1, Script2 - have return parameter Script1 - is calling Script2 in Script2 I am calling program sqlldr - if this program is called then I did not get the return parameter from Script1 Do You have any idea how can I avoid this problem. Mroki (6 Replies)
Discussion started by: mroki
6 Replies

4. AIX

How to detect the network cable status with c programming on AIX

Hello, Is there any API or any other approach to detect whether the network cable is connected to the network adapter, say, en0, en1 or en2? The OS is AIX6.1. Thank you. (4 Replies)
Discussion started by: zephyrbj
4 Replies

5. Programming

C/C++ System Programming API for AIX

Hi, I'm trying to locate the API information that is used for system programming on IBM's AIX operating system and other programming resources for AIX (language C/C++), I've had a look around the IBM website/Internet but I don't seem to be able to find anything that is up to date. This... (1 Reply)
Discussion started by: warlockuk
1 Replies

6. Programming

C Programming - Hardware Programming

Can someone help me on suggesting some ways to access the memory content in RAM directly from C/C++ source code. Please provide me any book name or any URL so that I can get an exhaustive knowledge over it. If possible please give me some tips on interacting with hardwares directly through... (3 Replies)
Discussion started by: nandumishra
3 Replies

7. UNIX for Dummies Questions & Answers

Carreer:Networking Programming in Unix (C programming Language)

Hello, I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies

8. AIX

Aix Shell Programming

HI I am trying to write a shell script which accepts two strings from user and finds the matching number of characters in those two ex: string 1 abcd string 2 bcgt result is bc (matching characters) pls provide me with a basic script for doing that (1 Reply)
Discussion started by: akmtcs
1 Replies

9. AIX

Programming Tools for Aix

I am searching for a good debugger and memory leak detection tools like for AIX. Right now we use Xldb for debugging, which is not bad, but detecting memory leaks is a pain... Unfortunately Purify is not aviable for the AIX plattform. DDD is not bad as an alternative debugger but he is... (0 Replies)
Discussion started by: Lazzar
0 Replies

10. Programming

c programming or unix programming!?

i would like advice on the usbject of c programming (in the middle of reading a book on C). could i benefit more if i apply that knowledge in the unix format if i were able to, or would that take the point out of learning C, basically I want to stay away from strying too far away from unix and use... (1 Reply)
Discussion started by: moxxx68
1 Replies
Login or Register to Ask a Question