Relocateable GCC!!!!


 
Thread Tools Search this Thread
Operating Systems AIX Relocateable GCC!!!!
# 1  
Old 01-07-2011
Relocateable GCC!!!!

Gurus,

This might be a piece of cake for you guys! But I have been ransacking the web (and my brain - no hardwork there!) to see if I could get my hands around a relocateable version of GCC - why so??
  1. from compile problems I am facing, it is evident my current gcc version is clearly not updated
  2. I am not a root user - so I am going to have to install this in my personal directory (I did put the request out to my UNIX admin, and it has been lying there for the last 2 weeks - I will be clearly in trouble if this was to get delayed any further!)
Question - could you help me locate and install gcc in a directory I could specify???

Truly appreciate any help you could provide!!!

- G

---------- Post updated at 08:45 PM ---------- Previous update was at 08:43 PM ----------

Sorry - forgot to mention - OS is AIX 5.3.
# 2  
Old 01-07-2011
What do you mean by "relocateable version of GCC"? Generate relocatable code?
# 3  
Old 01-08-2011
You know how when you run the rpm to install the package - you could use the "--relocate" flag to install in a directory other than where the package currently points - THAT IS, IF THE PACKAGE ALLOWS IT, right??? i.e. if it is relocateable (can be seen by running the "rpm -qip " command on the package).

All rpms I have found through the web are "not relocatable".

Do you know of any RPM or software out there that will help me install GCC in a directory I could specify?


Thanks!
Leon
# 4  
Old 01-08-2011
try one of these. don't know if it's relocatable or not.

Index of /aixtoolbox/RPMS/ppc/gcc
# 5  
Old 01-09-2011
Frank,

Thanks much for the link! However, I tried a version for 5.3 and it seems to be ir-relocateable too -
Code:
> rpm -qip gcc-4.2.0-2.aix5.3.ppc.rpm
Name : gcc Relocations: (not relocateable)
Version : 4.2.0 Vendor: (none)
Release : 2 Build Date: Mon Feb 18 11:39:00 GMT 2008
Install date: (not installed) Build Host: gibi.coopibm.frec.bull.fr
Group : Development/Tools Source RPM: gcc-4.2.0-2.src.rpm
Size : 10421611 License: GPL
Summary : GNU Compiler Collection
Description :
The gcc package includes the gcc GNU compiler for compiling C code.

I am losing hope. HELPPPPPP!!!! THIS SHIP IS SINKING!!!!!!

- G

Last edited by Scott; 01-11-2011 at 04:36 PM.. Reason: Less funny formatting, colours, etc. and more code tags, please!
# 6  
Old 01-09-2011
Hi,

as far as I am aware of, there is no gcc package out there that can be relocated and would work on AIX. Apart from that, even if it would be you would have to install it as root user as it would have to do all the linking ... so this looks like you have no other choice than to wait ...

Kind regards
zxmaus
# 7  
Old 01-09-2011
sounds like you or your manager needs to give the admin a call if it is that important.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
Login or Register to Ask a Question