[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Cygwin compilation time?
From: |
Christoph Schlegel |
Subject: |
Re: [Gm2] Cygwin compilation time? |
Date: |
Sun, 25 May 2014 21:15:31 +0200 |
Hi Matic,
so you have the correct structure in your home directory? All the dirs you
mentioned should reside in ~/opt/, not in ~ (!). I also guess you have copied
the exact example from the page IMPORTing from StrIO?
I have not tried the example from the docs for a long time but did now and it
produces a.exe without problems here. Now I thought I'd look for some paths to
compare with your installation and added the -v (--verbose) option so compiled
via:
gm2 -g --verbose hello.mod
This results in (sorry for the german messages):
$ gm2 -g --verbose hello.mod
Es werden eingebaute Spezifikationen verwendet.
COLLECT_GCC=gm2
COLLECT_LTO_WRAPPER=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/lto-wrapper.exe
Ziel: i686-pc-cygwin
Konfiguriert mit: ../gcc-4.7.3/configure --prefix=/home/Christoph/opt
--libexecdir=/home/Christoph/opt/lib --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,gm2
--disable-multilib --disable-bootstrap --enable-checking --enable-libgm2
Thread-Modell: posix
gcc-Version 4.7.3 (GCC)
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/cc1gm2.exe -quiet -dumpbase
hello.mod -mtune=generic -march=pentiumpro -auxbase hello -g -version
-ftarget-ar=/usr/bin/ar -ftarget-ranlib=/usr/bin/ranlib
-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim
-ftarget-ar=/usr/bin/ar -ftarget-ranlib=/usr/bin/ranlib
-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim
-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim -o /tmp/cc5CsKqU.s
hello.mod
GNU Modula-2 1.0.5 (20140421)
grafted onto GCC 4.7.3
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv2: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
as /tmp/cc5CsKqU.s -o /tmp/ccNY1VDSprog.o
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2l.exe
-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim -o /tmp/ccwSkJ7J.l
hello.mod
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2lorder.exe /tmp/ccwSkJ7J.l
-o /tmp/ccpFDR3K.lst
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2lgen.exe -cpp
/tmp/ccpFDR3K.lst -o hello_m2.cpp
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2cc.exe -v
-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3 -g -c -o
/tmp/ccipStKGstart.o hello_m2.cpp
Es werden eingebaute Spezifikationen verwendet.
COLLECT_GCC=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2cc
Ziel: i686-pc-cygwin
Konfiguriert mit: ../gcc-4.7.3/configure --prefix=/home/Christoph/opt
--libexecdir=/home/Christoph/opt/lib --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,gm2
--disable-multilib --disable-bootstrap --enable-checking --enable-libgm2
Thread-Modell: posix
gcc-Version 4.7.3 (GCC)
COLLECT_GCC_OPTIONS='-v' '-B'
'/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3' '-g' '-c' '-o'
'/tmp/ccipStKGstart.o' '-shared-libgcc' '-mtune=generic' '-march=pentiumpro'
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/cc1plus.exe -quiet -v
-iprefix
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/i686-pc-cygwin/4.7.3/
-isystem /home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/include -isystem
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/include-fixed -D__CYGWIN32__
-D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter /usr/lib/../include/w32api
-idirafter ../../include/w32api hello_m2.cpp -quiet -dumpbase hello_m2.cpp
-mtune=generic -march=pentiumpro -auxbase-strip /tmp/ccipStKGstart.o -g
-version -o /tmp/ccobkNn6.s
GNU C++ (GCC) Version 4.7.3 (i686-pc-cygwin)
kompiliert von GNU-C-Version 4.8.2, GMP-Version 6.0.0, MPFR-Version
3.1.2, MPC-Version 1.0.2.
GGC-Heuristik: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/c++/4.7.3«
wird ignoriert
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/c++/4.7.3/i686-pc-cygwin«
wird ignoriert
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/c++/4.7.3/backward«
wird ignoriert
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/i686-pc-cygwin/4.7.3/include«
wird ignoriert
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/i686-pc-cygwin/4.7.3/include-fixed«
wird ignoriert
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/include«
wird ignoriert
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/../../lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/c++/4.7.3«
wird ignoriert
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/../../lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/c++/4.7.3/i686-pc-cygwin«
wird ignoriert
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/../../lib/gcc/i686-pc-cygwin/4.7.3/../../../../include/c++/4.7.3/backward«
wird ignoriert
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/../../lib/gcc/i686-pc-cygwin/4.7.3/include«
wird ignoriert
nicht vorhandenes Verzeichnis »/usr/local/include« wird ignoriert
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/../../include«
wird ignoriert
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/../../lib/gcc/i686-pc-cygwin/4.7.3/include-fixed«
wird ignoriert
nicht vorhandenes Verzeichnis
»/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../lib/gcc/../../lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/include«
wird ignoriert
nicht vorhandenes Verzeichnis »../../include/w32api« wird ignoriert
#include "..." - Suche beginnt hier:
#include <...> - Suche beginnt hier:
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/include
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/include-fixed
/usr/include
/usr/lib/../include/w32api
Ende der Suchliste.
GNU C++ (GCC) Version 4.7.3 (i686-pc-cygwin)
kompiliert von GNU-C-Version 4.8.2, GMP-Version 6.0.0, MPFR-Version
3.1.2, MPC-Version 1.0.2.
GGC-Heuristik: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: b46a8cd3ca1e13b5ba6d5b8dbb8e3089
COLLECT_GCC_OPTIONS='-v' '-B'
'/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3' '-g' '-c' '-o'
'/tmp/ccipStKGstart.o' '-shared-libgcc' '-mtune=generic' '-march=pentiumpro'
as -o /tmp/ccipStKGstart.o /tmp/ccobkNn6.s
COMPILER_PATH=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/
LIBRARY_PATH=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-B'
'/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3' '-g' '-c' '-o'
'/tmp/ccipStKGstart.o' '-shared-libgcc' '-mtune=generic' '-march=pentiumpro'
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
rm -f /tmp/ccl68VGT.a
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2lcc.exe
-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3 -ftarget-ar=/usr/bin/ar
-ftarget-ranlib=/usr/bin/ranlib
-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim -v -exec
-startup /tmp/ccipStKGstart.o -ar -o /tmp/ccl68VGT.a /tmp/ccNY1VDSprog.o
/tmp/ccpFDR3K.lst
/usr/bin/ar rc /tmp/ccl68VGT.a /tmp/ccipStKGstart.o /tmp/ccNY1VDSprog.o
/usr/bin/ranlib /tmp/ccl68VGT.a
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
rm -f /tmp/ccipStKGstart /tmp/ccNY1VDSprog.o
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
COMPILER_PATH=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/
LIBRARY_PATH=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-I/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-ftarget-ar=/usr/bin/ar' '-ftarget-ranlib=/usr/bin/ranlib'
'-B/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3'
'-fobject-path=/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim' '-x'
'modula-2' '-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim'
'-g' '-v' '-mtune=generic' '-march=pentiumpro'
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/collect2.exe --wrap _Znwj
--wrap _Znaj --wrap _ZdlPv --wrap _ZdaPv --wrap _ZnwjRKSt9nothrow_t --wrap
_ZnajRKSt9nothrow_t --wrap _ZdlPvRKSt9nothrow_t --wrap _ZdaPvRKSt9nothrow_t
-Bdynamic --dll-search-prefix=cyg -tsaware /lib/crt0.o
/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/crtbegin.o
-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim
-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3:/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/gm2/pim
-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3
-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3
-L/home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/../../.. /tmp/ccl68VGT.a
-lgm2 -lstdc++ -lgcc -lgcc_eh -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32
-lgcc -lgcc_eh /home/Christoph/opt/lib/gcc/i686-pc-cygwin/4.7.3/crtend.o
/tmp/ccl68VGT.a(ccipStKGstart.o): In function `init':
/home/Christoph/hello/hello_m2.cpp:69: undefined reference to `__M2_hello_init'
/tmp/ccl68VGT.a(ccipStKGstart.o): In function `finish':
/home/Christoph/hello/hello_m2.cpp:80: undefined reference to
`__M2_hello_finish'
collect2: Fehler: ld gab 1 als Ende-Status zurück
This was very unexpected.
@Gaius, can I provide something that helps in tracking this error?
Regards,
Christoph
On Sun, 25 May 2014 11:00:01 +0200
Matic Kukovec <address@hidden> wrote:
> Hi Christoph.
> Thanks for the binaries.
>
> I'm new to gm2. I tried to build the hello.mod file from the
> "Example compile and link" guide on the gm2 website and get this message:
> "failed to find definition module SYSTEM.def"
> Did I forget something? I copied all the directories in the precompiled
> zip archive
> (bin,include,lib,share) into my Cygwin folder.
>
> Matic
>
>
> On 18.5.2014 22:09, Christoph Schlegel wrote:
> > On Sun, 18 May 2014 15:42:23 +0200
> > Matic Kukovec <address@hidden> wrote:
> >
> >> Hi guys.
> >>
> >> I'm trying to build the "gcc-4.7.3+gm2-20140421.tar.gz
> >> <http://floppsie.comp.glam.ac.uk/download/c/gcc-4.7.3+gm2-20140421.tar.gz>"
> >> snapshot in Cygwin.
> >> I ran make and it was compiling for at least 5 hours and still wasn't
> >> finished so i canceled it!
> >> There were no errors, it was still using one core on my CPU to the maximum.
> >> My machine is an Intel CoreDuo 3.17GHz, 4GB RAM running Windows Vista
> >> 64-bit. Cygwin is 32-bit.
> >> I followed the instructions on the official website for Cygwin.
> >>
> >> Anything I am missing?
> >>
> >> Matic
> > Hello Matic,
> >
> > I am building gm2 on a Intel Core i3 with 2,4 GHz, 4 MB RAM under Windows7
> > 64bit / Cygwin32 every time a new tarball is available. Cygwin takes very
> > long compared to building it under Debian testing, but no longer than 2
> > hours.
> >
> > I have binaries available if you want to play with the latest version:
> > http://freepages.modula2.org/downl.html
> >
> > Regards,
> > Christoph
> >
> >
> >
>
>
>
> _______________________________________________
> gm2 mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/gm2
--
Christoph Schlegel <address@hidden>