11-03-2000
Install GCC Compiler
It has been my experience that over the years that in different UNIX environments that the first thing I do, on a new platform, is to install the latest GCC compiler. GCC is a cross platform compiler and opens your world to myriad utilities. <BR>
It it my strong suggestion that you install the GCC compiler on at least one of your platforms so you can compile executables specific to your environment and architecture easily. Any search for code that I would do to would be in GCC archives, BTW.
I've worked in big HP shops, Sun shops, etc. in all those shops, I've always installed a GCC compiler very quickly. If you can't do it on a production platform, the next best thing is to install on a development platform in the lab.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a set of files created under different name, but they all have the same directory name at some point. I will like to delete all the files and directories after the common name:
Here is an example:
techs\fins\results\oaks\bigs
tech2\gihs\results\gears\picks
... (3 Replies)
Discussion started by: odogbolu98
3 Replies
2. UNIX for Dummies Questions & Answers
I'm not familiar with the stty command.
What would "stty erase e" do to my system and what kind of problems would it create? Also, how would I undo this command? (1 Reply)
Discussion started by: CEngel0327
1 Replies
3. UNIX for Dummies Questions & Answers
I have a file that always generated in the system eg. /tmp/log.txt , it is generated by the application program , but this file should not be present in the system otherwise there are some program problem , I want to erase this file once the program has generate it , as I know , it can link to... (2 Replies)
Discussion started by: ust
2 Replies
4. UNIX for Advanced & Expert Users
does anyone know how to incorporate this in a script so users can actually make use of their backspace button that they've grown accustomed to?
stty erase ^H --- this isn't working the script. works on command line but i wanna invoke it whenever this program of mine is run so users can use... (2 Replies)
Discussion started by: Terrible
2 Replies
5. UNIX for Advanced & Expert Users
after hitting this command...on pressing r acts as a backspace character....
how to disable this function (5 Replies)
Discussion started by: bishweshwar
5 Replies
6. Filesystems, Disks and Memory
Hi
I have some data in my tape which I want to erase with the command
mt erase
The process runs for a long time without cleaning data.
What can be the problem??
krishan (2 Replies)
Discussion started by: krishan
2 Replies
7. UNIX for Dummies Questions & Answers
Hello everybody i need to erase a at job that i write.
I wrote
at 22
at>execute a command
at>Ctr + d
How do i erase this? I don`t wan`t to do this. I need to change something
when i pressed ctrl + d give a job number (2 Replies)
Discussion started by: enkei17
2 Replies
8. AIX
how to use dd command to erase the data in disk, such as hdisk2? (9 Replies)
Discussion started by: rainbow_bean
9 Replies
9. OS X (Apple)
I made a tragic error and erased the extensions manager from my IMac. Now, I can't get the computer to boot up. It just stays on the gray screen. I've tried using the open apple+s method, which brings up the command console (not sure if I've got the lingo down right), and I've tried everything, but... (12 Replies)
Discussion started by: ccff22290
12 Replies
10. UNIX for Beginners Questions & Answers
Good Day all,
I'm new to ghostscript and have installed it in my unix system two days back.
But while using ps2pdf, I get the error pasted at the bottom.
I was able to convert my PS file via PDF Creator manually. But this error seems to be coming while using ps2pdf. My PS File is... (8 Replies)
Discussion started by: ADHVADARZIN
8 Replies
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.16.2 2012-10-11 PERLDGUX(1)