Thanks frank! Although, I get the same error again - ---------- Post updated at 03:49 PM ---------- Previous update was at 03:45 PM ----------
When I look for all instances of gcc on the system, here is what I see -
I put /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/ in front of my current LIBPATH and LD_LLIBRARY_PATH (LD_LIBRARY_PATH was not set - perhaps not used by AIX).
Here is the configure I am using -
What could be wrong here?
I am trying to compile c files using cc and gcc commands but getting errors cc and gcc not found. I tried man cc and man gcc still not found.
Can somebody help me this problem.
thanks (3 Replies)
I get this error warning.
test.c: In function 'main':
test.c:5: warning: incompatible implicit declaration of built-in function 'memset'
After compiling this code
#include <stdio.h>
int main() {
char pBuffer;
memset(pBuffer, 0, 32);
return 0;
}
What seems... (2 Replies)
Hi all,
I am trying to create 64-bit shared libraries on Power PC "ppc64" architecture SuSe Linux 10 machine using gcc compiler.
I am using "-m64" as an option for gcc to create 64-bit libraries which needs pam module. As we specify -m64 the compiler should look for all 64-bit... (0 Replies)
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
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)
Hi, I have recently got a job in unix, now training is going on and we have been practicing on telnet, so to practice at home I have installed vmware(virtual machine) and planning to download ubuntu. So my doubt is that whether I can write c and cpp progs in vi editor and can I run them by default... (5 Replies)
I m trying to Install FTP (vsftpd-2.3.2) on my linux machine.
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)... (7 Replies)
I want to compile all files in my directory i wrote
find *.c | gcc -o * *.c
but it dosent work :( Help pliz (12 Replies)
Discussion started by: rzili
12 Replies
LEARN ABOUT DEBIAN
ligcc
LIGCC(1) Listaller Project LIGCC(1)NAME
ligcc - Wrapper around gcc to create more portable apps
SYNOPSIS
ligcc [OPTION ...]
DESCRIPTION
This manual page documents briefly the ligcc command.
ligcc is a wrapper around gcc. It allows you to create more portable executables by doing three things:
o Forces the linker to link against older glibc symbols. Users who are using an older version of glibc will no longer get "undefined
symbol GLIBC_2.4 in /lib/libc.so"-style error messages.
o Allows you to easily statically link to any other library.
o Automatically removes bogus dependancies. For example, your program uses libfoo. libfoo uses libpng internally, but your app does not.
Yet the pkg-config file for libfoo specifies "-lfoo -lpng" is linker parameters. And tadaa - you now have a bogus dependancy on libpng!
LiGCC automatically removes the -lpng for you if your app doesn't use libpng directly.
o Add $ORIGIN/../lib to the binary's library search path. $ORIGIN is the directory in which the binary exists. This ensures that your
binary can find library dependencies which are placed in the 'lib' folder under the same prefix. You might want to install custom
libraries into /lib. If you set $APBUILD_PROJECTNAME, ligcc will also add $ORIGIN/../lib/$APBUILD_PROJECTNAME to the library search
path.
OPTIONS
See the manpage of gcc(1) for more information about possible options.
There are also several environment variables available to modify ligcc's behavior check the documentation for more information.
SEE ALSO
lig++ (1), gcc(1).
Additional documentation can be found on http://listaller.tenstral.net.
AUTHOR
This manual page was written by Matthias Klumpp matthias@tenstral.net.
COPYRIGHT
Copyright (C) 2009-2012 Matthias Klumpp
Listaller Project 20 April,2012 LIGCC(1)