01-09-2011
That sounds like what I have been asking for - can I get the source for gcc that I can install in a directory of my choice??
Thanks!
G
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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 NETBSD
__builtin_object_size
__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