Sponsored Content
Full Discussion: AIX 7.1 gcc 4.8.5 issue
Top Forums UNIX for Advanced & Expert Users AIX 7.1 gcc 4.8.5 issue Post 303025796 by gull04 on Monday 12th of November 2018 11:15:08 AM
Old 11-12-2018
Hi,

You may have to run the compile with an explicit "-L $LIBPATH" for each of the library files. To do that you'll need to know where they are on the system, you can find them and then add the $CFLAGS and $LDFLAGS.

But to check, the libraries are normally stored in;

Code:
/opt/freeware/lib/gcc/<architecture_AIX_level>/<GCC_Level>

Regards

Gull04
 

10 More Discussions You Might Find Interesting

1. AIX

gcc compiler on AIX 5.2

Does anybody know a web site where I could download gcc for AIX 5.2 (I've downloaded gcc 3.2 from http://www.bullfreeware.com/, but it doesn't work)? Thanks a lot for your answers. (2 Replies)
Discussion started by: SMISS
2 Replies

2. UNIX for Dummies Questions & Answers

AIX 5.3 gcc compiler

Hi there I've got a problem getting my mysql libraries to work. every time I compile my source code it gives my a compiler error. Cannot find a rule to create target /usr/include/mysql/mysql.h AND /usr/include/mysql/mysql.h: Permission denied Is anyone fimiliar with this error, and can... (0 Replies)
Discussion started by: cipher#1
0 Replies

3. AIX

AIX 5.3 gcc compiler

Hi there I've got a problem getting my mysql libraries to work. every time I compile my source code it gives my a compiler error. Cannot find a rule to create target /usr/include/mysql/mysql.h AND /usr/include/mysql/mysql.h: Permission denied Is anyone fimiliar with this error, and can... (1 Reply)
Discussion started by: cipher#1
1 Replies

4. AIX

gcc with AIX 4.3

hi, i need to install a source code from an open source on AIX 4.3. but first i need to install gcc. is gcc going to screw up AIX 4.3? the box is doing heavy legacy stuff with engine and db2 on it. and over 200 users. any comment would be appreciated. thanks (9 Replies)
Discussion started by: itik
9 Replies

5. Linux

GCC compiler issue on redhat4.5

Hi all, I am using gcc4.1.1 on redhat4.5 and when i rethrow an exception and I am catching it .. The application aborts and throws the following error message to stdout - the error that's been thrown is been caught but never gets that far as it falls over on throw statement Has anyone ever... (0 Replies)
Discussion started by: nano2
0 Replies

6. AIX

Compile gcc on AIX 5.2

I'm trying to compile gcc 3.4.6 on AIX 5.2 but I get this error: bison -t --name-prefix=java_ -o java/parse.c java/parse.y M4sugar requires GNU M4. Install it before installing M4sugar or set the M4 environment variable to its path name.make: *** Broken pipe gcc -c -g -O2 -DIN_GCC -W... (7 Replies)
Discussion started by: untamed
7 Replies

7. AIX

problems with gcc on AIX 4.33

I just installed gcc on AIX 4.33, and I am having some problems with compiling a simple hello world program. See output below for the issue. The "standards.h" file is not on my system and I don't know where to get it. Thanks in advance for your help! # gcc -v Reading specs from... (2 Replies)
Discussion started by: jhall
2 Replies

8. AIX

Gcc for AIX

Hi, I am working with AIX5.3 and I downloaded the gcc-4.2.4.tar.bz2 from the site and when I am trying to un-tar it.It is throwing error-- Please help me to resolve it. Thanks in Advance.. (6 Replies)
Discussion started by: smartgupta
6 Replies

9. AIX

Upgrading AIX 5.2 to AIX 6.1 - GCC compatibility

Hi All, We are in the processing of upgrading our AIX server OS from 5.2.0.0 to 6.1. And we have a set of highly critical running C applications in AIX box. I have a question like whether this upgradation of OS will affect any C code compilation and C runtime enviornment... how does AIX 6.1... (1 Reply)
Discussion started by: karthikc
1 Replies

10. Programming

Gcc 4.5.8 on AIX 7.1 issue

after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files Server:root:/ > rpm -qa | grep gcc libgcc-4.8.5-1 gcc-cpp-4.8.5-1 gcc-4.8.5-1 gcc-c++-4.8.5-1 but whene we proceed to compile a c programm we have this error exec(): 0509-036 Cannot load... (2 Replies)
Discussion started by: yahia
2 Replies
PTH-CONFIG(1)						       GNU Portable Threads						     PTH-CONFIG(1)

NAME
pth-config - Pth library build utility VERSION
GNU Pth 2.0.7 (08-Jun-2006) SYNOPSIS
pth-config [--help] [--version] [--all] [--prefix] [--exec-prefix] [--bindir] [--libdir] [--includedir] [--mandir] [--datadir] [--acdir] [--cflags] [--ldflags] [--libs] DESCRIPTION
The pth-config program is a little helper utility for easy configuring and building applications based on the pth(3) library. It can be used to query the C compiler and linker flags which are required to correctly compile and link the application against the pth(3) library. OPTIONS
pth-config accepts the following options: --help Prints the short usage information. --version Prints the version number and date of the installed pth(3) library. --all Forces the output of all flags, that is, including extra flags which are not Pth specific. --prefix Prints the installation prefix of architecture independent files --exec-prefix Prints the installation prefix of architecture dependent files. --bindir Prints the installation directory of binaries. --libdir Prints the installation directory of libraries. --includedir Prints the installation directory of include headers. --mandir Prints the installation directory of manual pages. --datadir Prints the installation directory of shared data. --acdir Prints the installation directory of autoconf data. --cflags Prints the C compiler flags which are needed to compile the pth(3)-based application. The output is usually added to the "CFLAGS" vari- able of the applications "Makefile". --ldflags Prints the linker flags ("-L") which are needed to link the application with the pth(3) library. The output is usually added to the "LDFLAGS" variable of the applications "Makefile". --libs Prints the library flags ("-l") which are needed to link the application with the pth(3) library. The output is usually added to the "LIBS" variable of the applications "Makefile". EXAMPLE
CC = cc CFLAGS = -O `pth-config --cflags` LDFLAGS = `pth-config --ldflags` LIBS = -lm `pth-config --libs` all: foo foo: foo.o $(CC) $(LDFLAGS) -o foo foo.o $(LIBS) foo.o: foo.c $(CC) $(CFLAGS) -c foo.c SEE ALSO
pth(3), cc(1). AUTHOR
Ralf S. Engelschall rse@engelschall.com www.engelschall.com 08-Jun-2006 GNU Pth 2.0.7 PTH-CONFIG(1)
All times are GMT -4. The time now is 08:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy