tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Installing GNU CC
@ 1997-01-11  0:33 david.w.chapman
  0 siblings, 0 replies; only message in thread
From: david.w.chapman @ 1997-01-11  0:33 UTC (permalink / raw)
  To: tru64-unix-managers

I installed gcc-2.7.2.1 on a DEC 3000 Model 600S, Digital UNIX V3.0.
I followed the INSTALL instructions:

   ./configure
   make LANGUAGES=c
   make stage1
   make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O2"
   make stage2
   make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O2"
   make compare
   make install CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O2"

They all seemed to run O.K.

Now, what do I have to do to compile something?
# which gcc
no gcc in /sbin /usr/sbin /usr/bin /usr/bin/X11

For example, I can type the following using cc (/usr/bin/cc):
(/usr/ccs/lib/cmplrs/cc/driver if you follow the links)

   cc -o hello hello.c

I see the following files:

   /usr/local/bin/c++
   /usr/local/bin/g++
   /usr/local/bin/protoize
   /usr/local/bin/unprotoize
   /usr/local/alpha-dec-osf3.0/include/assert.h

I also see these files:

# pwd
/usr/local/lib/gcc-lib/alpha-dec-osf3.0/2.7.2.1
# ls -l
total 15975
-rw-r--r--   1 root     system     87968 Jan  9 07:59 SYSCALLS.c.X
-rwxr-xr-x   1 root     system   4198336 Jan  9 07:59 cc1
-rwxr-xr-x   1 root     system   4397808 Jan  9 07:59 cc1obj
-rwxr-xr-x   1 root     system   5696944 Jan  9 07:59 cc1plus
-rwxr-xr-x   1 root     system    253056 Jan  9 07:59 cpp
drwxr-xr-x   7 root     system      1536 Jan  8 17:59 include
-rwxr-xr-x   1 root     system    492736 Jan  9 07:59 ld
-rw-r--r--   1 root     system    344322 Jan  9 08:00 libgcc.a
-rw-r--r--   1 root     system    555532 Jan  9 08:00 libobjc.a
-rwxr-xr-x   1 root     system     86672 Jan  9 07:59 mips-tdump
-rwxr-xr-x   1 root     system    145712 Jan  9 07:59 mips-tfile
-rwxr-xr-x   1 root     system      1227 Jan  9 07:59 specs

What are these files?
What links do I create?
Where is the best place to put these links?
(The links for cc seem really convoluted)

Thanks in advance!

Dave Chapman
david.w.chapman@ussev.mail.abb.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-01-11  0:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-11  0:33 Installing GNU CC david.w.chapman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox