Summary: Compiling GPC, GCC, G77

From: Kevin White <kdw3_at_po.cwru.edu>
Date: Thu, 12 Jun 1997 10:32:29 -0400

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_at_po.cwru.edu
CWRU Dept of Genetics
__________________________
Received on Thu Jun 12 1997 - 16:52:34 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT