tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: Compiling GPC, GCC, G77
@ 1997-06-12 14:32 Kevin White
  0 siblings, 0 replies; only message in thread
From: Kevin White @ 1997-06-12 14:32 UTC (permalink / raw)
  To: tru64-unix-managers

I want to thank everyone who helped figure out how to get all the gnu
compilers to run on my alpha.

Basically, you have to compile g77 & gpc seperately otherwise gpc will
fail on the linker.

1) Compile gcc and g77 as per normal instructions.  Make sure to comment
out 'extern int sprintf' in <gcc>/cp/errfn.c

2)install gcc & g77

3) REMOVE the sources for gcc and g77.

4)unpack NEW sources for gcc only.

5)make just the c complier, do NOT make everything.

6)edit <gcc>/version.c so that the version number is the same as for the
gcc + g77 compliers that you installed in step 2. (in my case
'2.7.2.2.f.2')

7)edit <gcc>/Makefile and again change the version number as
appropriate.

8) go into the gpc source directory and edit Makefile.in (before you run
configure) so that again, the version value matches what you edited in 6
& 7.

	Note:  The reason you need to edit the version values is so that gpc
finds the right library directory and so that it installs it's libraries
in the right place.

9)configure (be sure to set CC=gcc or there will be hell to pay later
on)

10)make

11)make install

It is a good idea to go into the <gpc>/test/ directory and compile some
of the examples to make sure that your new gpc actually works.

12)get rid of all that bloated source code!

That should do it.

-- 
__________________________
Kevin White
kdw3@po.cwru.edu
CWRU Dept of Genetics
__________________________

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

only message in thread, other threads:[~1997-06-12 14:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-12 14:32 Summary: Compiling GPC, GCC, G77 Kevin White

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