From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078613510411.tru64-unix-managers.marc@archive.invalid> From: Kevin White Date: Thu, 12 Jun 1997 14:32:29 +0000 To: tru64-unix-managers Subject: Summary: Compiling GPC, GCC, G77 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078613510411 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 /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 /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 /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 /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 __________________________