Sponsored Content
Full Discussion: Relocateable GCC!!!!
Operating Systems AIX Relocateable GCC!!!! Post 302487174 by frank_rizzo on Tuesday 11th of January 2011 03:23:49 PM
Old 01-11-2011
try this. I am not sure if LD_LIBRARY_PATH is needed when using gcc on AIX. Set it to be safe. also make sure your version of gcc is first in $PATH.

Code:
export LIBPATH=/path/to/your/gcc/build/lib:$LIBPATH
export LD_LIBRARY_PATH=/path/to/your/gcc/build/lib:$LD_LIBRARY_PATH
./configure ...
make

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

cc and gcc not found

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)
Discussion started by: asif iqbal
3 Replies

2. Programming

warning from gcc

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)
Discussion started by: sledge76
2 Replies

3. Programming

Gcc

Dear all, Any body please guide, i require a C which will run in Linux environment. Its urgent please. warm regards, Senthil K (1 Reply)
Discussion started by: Senthil
1 Replies

4. Programming

gcc *.c -lcurses

Can someone tell me what does -|curses do here when the C program got compiled? gcc *.c -lcurses Thanks! (1 Reply)
Discussion started by: whatisthis
1 Replies

5. SuSE

Linux gcc

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)
Discussion started by: vyshu2112
0 Replies

6. Solaris

Installing gcc - recieve error message gcc : cannot execute

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)
Discussion started by: Ackers
8 Replies

7. 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

8. UNIX for Dummies Questions & Answers

Help with gcc and g++

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)
Discussion started by: vishal.973s
5 Replies

9. UNIX for Dummies Questions & Answers

GCC installation .

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)
Discussion started by: pinga123
7 Replies

10. Programming

Gcc with pipe

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
PERLBEOS(1)						 Perl Programmers Reference Guide					       PERLBEOS(1)

NAME
README.beos - Perl version 5.8+ on BeOS DESCRIPTION
This file contains instructions how to build Perl under BeOS and lists known problems. BUILD AND INSTALL
Requirements I have built and tested Perl 5.8.6 and 5.9.1 under BeOS R5 x86 net server. I can't say anything with regard to PPC. Since Perl 5.8.0 had been released for BeOS BONE, I suspect, there is a good chance, that it still compiles on a BONE system. The only change I've made, that affects BONE systems is the recognition of whether it is a BONE system or not in "hints/beos.sh". Now network socket support should remain enabled on BONE systems. This might as well break the build, though. As more recent versions of autoconf require flock() support, I wrote a flock() emulation (flock_server) and released it on BeBits: http://www.bebits.com/app/4030 If you want to build a Perl with flock() support, you have to install this package first. Configure With flock() support: CFLAGS=-I/path/to/flock/server/headers ./configure.gnu --prefix=/boot/home/config Replace "/path/to/flock/server/headers" with the path to the directory containing the "flock.h" header. Without flock() support: ./configure.gnu --prefix=/boot/home/config Build With flock() support: make LDLOADLIBS="-lnet -lflock" Without flock() support: make LDLOADLIBS="-lnet" "-lnet" is needed on net server systems only and if the compiler doesn't add it automatically (Be's R5 gcc does, Oliver Tappe's gcc 2.95.3 does not). Install Install all perl files: make install Create a symlink for libperl: cd ~/config/lib; ln -s perl5/5.8.6/BePC-beos/CORE/libperl.so . Replace 5.8.6 with your respective version of Perl. KNOWN PROBLEMS
o Network socket support is disabled for BeOS R5 net server. I didn't dare yet to try enabling it and see what problems occur. o The LFS (large file support) tests ("t/op/lfs" and "xt/Fcntl/t/syslfs") are disabled as seeking beyond 2 GB is broken according to jhi@iki.fi who was the last one checking the BeOS port and updating this file before me. Haven't checked this myself. o The "t/io/fflush" test fails at #6. As far as I can tell, this is caused by a bug in the BeOS pipes implementation that occurs when starting other child processes. In the particular test case a "system("perl -e 0")" flushes the stdout pipe of another child process. o The "ext/POSIX/t/waitpid" test fails at #1. After all child processes are gone BeOS' waitpid(-1,...) returns 0 instead of -1 (as it should). No idea how to fix this. CONTACT
For BeOS specifics problems feel free to mail to: Ingo Weinhold <bonefish@cs.tu-berlin.de> Last update: 2004-12-16 perl v5.12.1 2010-04-26 PERLBEOS(1)
All times are GMT -4. The time now is 06:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy