|
From: | rob solomon |
Subject: | Re: [Gm2] gm2 failing. Don't know why |
Date: | Wed, 09 Oct 2013 21:06:41 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
On 10/08/2013 07:23 AM, Gaius Mulley wrote:
rob solomon <address@hidden> writes:On 10/07/2013 05:39 AM, Gaius Mulley wrote:rob solomon <address@hidden> writes:I'm starting simple tests w/ gm2 using my own code that I've used w/ StonyBrook M2 over the years. I have export GM2IPATH=/home/rob/m2/MyDefs:/home/rob/m2/MyMods Then I did gm2 -g -fiso TestEnvirong.mod -o TestEnvirong 2>testgm2error.txt And I got this error: gm2: /home/rob/m2/MyDefs:/home/rob/m2/MyMods:/opt/gm2/lib/gcc/x86_64-linux-gnu/4.1.2/gm2/iso:/opt/gm2/lib/gcc/x86_64-linux-gnu/4.1.2/gm2/pim:/opt/gm2/lib/gcc/x86_64-linux-gnu/4.1.2/gm2/iso:/opt/gm2/lib/gcc/x86_64-linux-gnu/4.1.2/gm2/pim: No such file or directory failed to find definition module SYSTEM.def This is under Ubuntu 13.04. What am I doing wrong?Hi Rob, I'm not entirely sure, but could you try: $ gm2 -fsources -g -fiso -flibs=iso,pim TestEnvirong.mod if that fails then I'd be interested to know the output to: $ unset GM2IPATH $ gm2 -g -fiso -flibs=iso,pim -I/home/rob/m2/MyDefs:/home/rob/m2/MyMods -fsources TestEnvirong.mod regards, GaiusI could not get the GM2IPATH to work. But using the explicit -I is working.Hi Rob, thanks for the bug report - I wonder if you could possibly run: export GM2IPATH=/home/rob/m2/MyDefs:/home/rob/m2/MyMods gm2 -I. -g -fiso -v TestEnvirong.mod -o TestEnvirong (I forgot to mention - you will need to specify -I. for your application program assuming it does not live in /home/rob/m2/MyMods) regards, Gaius
I found out why the GM2IPATH is not working.gm2: /home/rob/m2/MyDefs:/home/rob/m2/MyMods:/opt/gm2/lib/gcc/x86_64-linux-gnu/4.1.2/gm2/iso:/opt/gm2/lib/gcc/x86_64-linux-gnu/4.1.2/gm2/pim:/opt/gm2/lib/gcc/x86_64-linux-gnu/4.1.2/gm2/iso:/opt/gm2/lib/gcc/x86_64-linux-gnu/4.1.2/gm2/pim: No such file or directory
Using built-in specs. Target: x86_64-linux-gnu Configured with: ../gcc-4.1.2+gm2-20121019/configure linux gnu Thread model: posix gcc version 4.1.2/usr/lib/gm2/libexec/gcc/x86_64-linux-gnu/4.1.2/cc1gm2 -quiet -dumpbase TestEnvirong.mod -mtune=k8 -auxbase TestEnvirong -g -version -fobject-path=/opt/gm2/lib/gcc/x86_64-linux-gnu/4.1.2/gm2/iso:/opt/gm2/lib/gcc/x86_64-linux-gnu/4.1.2/gm2/pim -ftarget-ranlib=/usr/bin/ranlib -ftarget-ar=/usr/bin/ar -fsources -fiso -flibs=iso,pim -fobject-path=/opt/gm2/lib/gcc/x86_64-linux-gnu/4.1.2/gm2/iso:/opt/gm2/lib/gcc/x86_64-linux-gnu/4.1.2/gm2/pim -ftarget-ranlib=/usr/bin/ranlib -ftarget-ar=/usr/bin/ar -fsources -fiso -flibs=iso,pim -o /tmp/ccBHawdq.s TestEnvirong.mod
GNU Modula-2 version 4.1.2 (x86_64-linux-gnu) compiled by GNU C version 4.4.5. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 failed to find definition module SYSTEM.def The directory it is saying does not exist, ending in pim, does exist.
[Prev in Thread] | Current Thread | [Next in Thread] |