10-29-2008
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 /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.3/specs
Configured with: ../gcc-3.3/configure
Thread model: aix
gcc version 3.3
# cat test.c
#include <stdio.h>
main()
{
printf ("Hello World!\n");
}
# gcc test.c -o test
In file included from test.c:1:
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.3/include/stdio.h:57:23: standards.h: A file or directory in the path name does not exist.
10 More Discussions You Might Find Interesting
1. Solaris
I downloaded and installed the gcc binaries recently. I am now trying to compile openssh, but I get bad compiler issues when I try this.
in the openssh directory, I run:
./configure
(mind you, I have usr/local/bin/gcc in my PATH)
but the output says checking for gcc... no
Why... (7 Replies)
Discussion started by: AJA
7 Replies
2. UNIX for Dummies Questions & Answers
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. SCO
Hy everone!
I have an old SCO 5.x machine on which I want to install openssh. Since there was no GCC compiler installed I had to install that too. I'm not a programmer and not so familiar with SCO, so I have a couple of questions.
I did everything "by the book" as it says here:
Where can I... (1 Reply)
Discussion started by: veccinho
1 Replies
4. AIX
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. UNIX for Dummies Questions & Answers
Hi, I seem to be getting errors in relation to GCC it seems as I cant upgrade alot of pkgs until I can upgrade or use a later version of GCC.
The error I get is along the lines of ( cc1: error: unrecognized command line option "-Wno-pointer-sign"
*** Error code 1 )
Anyway I was wondering if... (2 Replies)
Discussion started by: Browser
2 Replies
6. 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
7. AIX
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
8. Linux
Hello
I'm not able to install gcc.
My platform is
# uname -a
Linux localhost 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
#yum install gcc
I got the following error
---> Package libgfortran44.x86_64 0:4.4.4-13.el5 set to be updated
---> Package... (2 Replies)
Discussion started by: My Style
2 Replies
9. AIX
We need gcc 7.2 on AIX 7.2 and so I tried to install the rpm package from IBM (<https://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html>)
The steps were as follows (I downloaded all packages from the given IBM toolbox page):
# :-)rpm -ihv gcc-7.2.0-1.aix7.2.ppc.rpm
error:... (2 Replies)
Discussion started by: BuSchu
2 Replies
10. Programming
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
LEARN ABOUT DEBIAN
colorgcc
COLORGCC(1) General Commands Manual COLORGCC(1)
NAME
colorgcc - colorization wrapper for gcc
SYNOPSIS
colorgcc [OPTION]... [FILENAME]...
DESCRIPTION
colorgcc acts as a wrapper around gcc(1) to ease reading its output by colorizing it.
OPTIONS
Since colorgcc is a wrapper around gcc(1), it has the same command line options as gcc(1).
USAGE
At your shell prompt, set your CC environment variable to 'colorgcc'. This may be done in several different ways, depending on what shell
you use.
In a Bourne-compatible shell (bash, ash, zsh, pdksh), type:
export CC="colorgcc"
In a C shell variant (csh, tcsh), type:
setenv CC "colorgcc"
Refer to your shell's documentation for more information on setting environment variables.
FILES
/etc/colorgcc/colorgccrc
System-wide configuration file for colorgccrc.
$HOME/.colorgccrc
Personal configuration file for colorgccrc.
SEE ALSO
gcc(1), colorgccrc(5)
HISTORY
Jan 15 2003: Initial version of this manual-page.
REPORTING BUGS
Report bugs to <jmoyers@geeks.com>
AUTHORS
Jamie Moyers <jmoyers@geeks.com> is the author of colorgcc.
This manual page was written by Joe Wreschnig <piman@sacredchao.net>, and modified by David Weinehall <tao@debian.org>, for the Debian
GNU/Linux system (but may be used by others).
COPYRIGHT
Copyright (C) 2003 Jamie Moyers
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
Jan 15, 2003 COLORGCC(1)