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 MOJAVE
perldgux
PERLDGUX(1) Perl Programmers Reference Guide PERLDGUX(1)
NAME
perldgux - Perl under DG/UX.
SYNOPSIS
One can read this document in the following formats:
man perldgux
view perl perldgux
explorer perldgux.html
info perldgux
to list some (not all may be available simultaneously), or it may be read as is: as README.dgux.
DESCRIPTION
Perl 5.7/8.x for DG/UX ix86 R4.20MU0x
BUILDING PERL ON DG
/UX
Non-threaded Perl on DG/UX
Just run ./Configure script from the top directory. Then give "make" to compile.
Threaded Perl on DG/UX
If you are using as compiler GCC-2.95.x rev(DG/UX) an easy solution for configuring perl in your DG/UX machine is to run the command:
./Configure -Dusethreads -Duseithreads -Dusedevel -des
This will automatically accept all the defaults and in particular /usr/local/ as installation directory. Note that GCC-2.95.x rev(DG/UX)
knows the switch -pthread which allows it to link correctly DG/UX's -lthread library.
If you want to change the installation directory or have a standard DG/UX with C compiler GCC-2.7.2.x then you have no choice than to do an
interactive build by issuing the command:
./Configure -Dusethreads -Duseithreads
In particular with GCC-2.7.2.x accept all the defaults and *watch* out for the message:
Any additional ld flags (NOT including libraries)? [ -pthread]
Instead of -pthread put here -lthread. CGCC-2.7.2.x that comes with the DG/UX OS does NOT know the -pthread switch. So your build will fail
if you choose the defaults. After configuration is done correctly give "make" to compile.
Testing Perl on DG/UX
Issuing a "make test" will run all the tests. If the test lib/ftmp-security gives you as a result something like
lib/ftmp-security....File::Temp::_gettemp:
Parent directory (/tmp/) is not safe (sticky bit not set
when world writable?) at lib/ftmp-security.t line 100
don't panic and just set the sticky bit in your /tmp directory by doing the following as root:
cd / chmod +t /tmp (=set the sticky bit to /tmp).
Then rerun the tests. This time all must be OK.
Installing the built perl on DG/UX
Run the command "make install"
AUTHOR
Takis Psarogiannakopoulos University of Cambridge Centre for Mathematical Sciences Department of Pure Mathematics Wilberforce road
Cambridge CB3 0WB , UK email <takis@XFree86.Org>
SEE ALSO
perl(1).
perl v5.18.2 2014-01-06 PERLDGUX(1)