Sponsored Content
Full Discussion: Relocateable GCC!!!!
Operating Systems AIX Relocateable GCC!!!! Post 302486748 by citaylor on Monday 10th of January 2011 07:48:59 AM
Old 01-10-2011
Quote:
Originally Posted by zxmaus
I mentioned it before - relocatable or not - you need root to install anything on the systems ...
I believe that is why he is interested in compiling up GCC with a different prefix configured - in that event he does not have to be root or have root access to create a working gcc executable.
 

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
__BUILTIN_OBJECT_SIZE(3)				   BSD Library Functions Manual 				  __BUILTIN_OBJECT_SIZE(3)

NAME
__builtin_object_size -- return the size of the given object SYNOPSIS
size_t __builtin_object_size(void *ptr, int type); DESCRIPTION
The __builtin_object_size() function is a gcc(1) built-in function that returns the size of the ptr object if known at compile time and the object does not have any side effects. RETURN VALUES
If the size of the object is not known or it has side effects the __builtin_object_size() function returns: (size_t)-1 for type 0 and 1. (size_t)0 for type 2 and 3. If the size of the object is known, then the __builtin_object_size() function returns the maximum size of all the objects that the compiler knows that they can be pointed to by ptr when type & 2 == 0, and the minimum size when type & 2 != 0. SEE ALSO
gcc(1), __builtin_return_address(3), attribute(3), ssp(3) HISTORY
The __builtin_object_size() appeared in GCC 4.1. CAVEATS
This is a non-standard, compiler-specific extension. BSD
December 19, 2010 BSD
All times are GMT -4. The time now is 01:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy