gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Gm2] Initial Setup & Installation


From: Rob Feyerherm
Subject: RE: [Gm2] Initial Setup & Installation
Date: Wed, 25 Sep 2002 11:27:41 -0500

Okay, I removed everything I had tried already and started over.  Hope this helps diagnose what may have gone wrong, if anything.  I've been reading the http://floppsie.comp.glam.ac.uk/Glamorgan/gaius/web/gm2.html doc here but I don't seem to be able to run gm2 or find it anywhere to execute.

Thanks,
Rob


I ran

gzip -dc gm2-20020916+gcc-3.2.tar.gz | tar xf -    ("completed successfully")
   mkdir host-build                                        ("completed successfully")
   cd host-build                                                   ("completed successfully")
   ../gcc-20020916+gcc-3.2/configure               ("completed successfully")
   make                         ENDED WITH THE FOLLOWING AFTER IT RAN FOR SEVERAL MINUTES:

failed to find definition module choosetemp.def
make[2]: *** [gm2/gm2-compiler/M2Preprocess.o] Error 1
make[2]: Leaving directory `/root/gnum2/host-build/gcc'
cp: cannot stat `stage2/gm2/cc1gm2': No such file or directory
make[1]: *** [cc1gm2] Error 1
make[1]: Leaving directory `/root/gnum2/host-build/gcc'
make: *** [all-gcc] Error 2

so then I ran
   su                                                              ("completed successfully")

and then

   make install                 Here's the output from that:

/bin/sh ../gm2-20020916+gcc-3.2/mkinstalldirs /usr/local /usr/local
make[1]: Entering directory `/root/gnum2/host-build/gcc'
(cd intl && make all)
make[2]: Entering directory `/root/gnum2/host-build/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/gnum2/host-build/gcc/intl'
if [ "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then \
           make stage2/gm2/cc1gm2 ; \
           cp stage2/gm2/cc1gm2 cc1gm2 ; \
        else \
           make stage1/gm2/cc1gm2 ; \
           cp stage1/gm2/cc1gm2 cc1gm2 ; \
        fi
make[2]: Entering directory `/root/gnum2/host-build/gcc'
gcc -DIN_GCC    -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes   -DHAVE_CONFIG_H  -o stage1/gm2/cc1gm2 gm2/gccgm2.o gm2/gm2-lang.o                           gm2/gm2-compiler-boot/gm2.a gm2/gm2-libs-boot/libgm2.a gm2/p2c/p2c-src/home/libp2c.a                         main.o libbackend.a   ../libiberty/libiberty.a

./xgm2 -Wbounds -Wreturn -g -g -c -B./stage1/gm2 -I../../gm2-20020916+gcc-3.2/gcc/gm2/gm2-compiler -I../../gm2-20020916+gcc-3.2/gcc/gm2/gm2-libs -I../../gm2-20020916+gcc-3.2/gcc/gm2/gm2-libiberty ../../gm2-20020916+gcc-3.2/gcc/gm2/gm2-compiler/M2Preprocess.mod -o gm2/gm2-compiler/M2Preprocess.o

failed to find definition module choosetemp.def
make[2]: *** [gm2/gm2-compiler/M2Preprocess.o] Error 1
make[2]: Leaving directory `/root/gnum2/host-build/gcc'
cp: cannot stat `stage2/gm2/cc1gm2': No such file or directory
make[1]: *** [cc1gm2] Error 1
make[1]: Leaving directory `/root/gnum2/host-build/gcc'
make: *** [install-gcc] Error 2




> I am trying to get this Modula-2 to C compiler to work.
>
> I have downloaded the newest version from the following location
> from my redhat 7.2 linux box
> ftp://floppsie.comp.glam.ac.uk/pub/c/gm2-20020916+gcc-3.2.tar.gz
> <ftp://floppsie.comp.glam.ac.uk/pub/c/gm2-20020916+gcc-3.2.tar.gz>
>
> i ran a gunzip and a tar xvf on the file and have the files extracted.
> Then I ran ./configure and it seemed to run for a while setting things
> up and then once I get back to a prompt, where do I go from here?  I see
> there's a gcc/gm2/

ok good. You should be able to build the compiler:

   gzip -dc gm2-20020916+gcc-3.2.tar.gz | tar xf -
   mkdir host-build
   cd host-build
   ../gcc-20020916+gcc-3.2/configure
   make
   su
   make install

>
> sub-directory in this folder where I have installed, but what command
> line do I run?  Hope someone can help me out.  Thanks in Advance!

hope this helps,

Gaius


reply via email to

[Prev in Thread] Current Thread [Next in Thread]