[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] Mac OS X Linking Errors
From: |
Michael Lambert |
Subject: |
[Gm2] Mac OS X Linking Errors |
Date: |
Sat, 3 Jan 2009 13:36:45 -0500 |
Hi Gaius,
I'm still seeing many unresolved cases/errors on Mac OS X/Intel.
Below is a compile/link by hand of the libexcept test--the only clue I
see is the apparent passing of a null string to the 'No such file or
directory' error message. I see the same behavior when linking a
simple hello.mod with an installed compiler.
Regards,
Michael
bash-3.2$ /Users/lambert/gnu/gm2-dev/obj/gcc/xgm2 --verbose -B/Users/
lambert/gnu/gm2-dev/obj/gcc -I/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/
testsuite/gm2/exceptions/run/pass:/Users/lambert/gnu/gm2-dev/gcc-4.1.2/
gcc/testsuite/../gm2/gm2-libs:/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/
testsuite/../gm2/pim/pass:/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/
testsuite/../gm2/gm2-compiler:../gm2/gm2-libs:../gm2/gm2-compiler -c
-o /Users/lambert/gnu/gm2-dev/obj/gcc/testsuite/libexcept.o /Users/
lambert/gnu/gm2-dev/gcc-4.1.2/gcc/testsuite/gm2/exceptions/run/pass/
libexcept.mod
Reading specs from /Users/lambert/gnu/gm2-dev/obj/gcc/specsTarget:
i386-apple-darwin9.6.0
Configured with: ../gcc-4.1.2/configure --prefix=/usr/local/gm2 --
disable-multilib --enable-languages=c,c++,gm2
Thread model: posix
gcc version 4.1.2
/Users/lambert/gnu/gm2-dev/obj/gcc/cc1gm2 -fPIC -quiet -dumpbase
libexcept.mod -auxbase-strip /Users/lambert/gnu/gm2-dev/obj/gcc/
testsuite/libexcept.o -version -ftarget-ranlib=/usr/bin/ranlib -
ftarget-ar=/usr/bin/ar -fobject-path=/Users/lambert/gnu/gm2-dev/
gcc-4.1.2/gcc/testsuite/gm2/exceptions/run/pass:/Users/lambert/gnu/gm2-
dev/gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs:/Users/lambert/gnu/gm2-dev/
gcc-4.1.2/gcc/testsuite/../gm2/pim/pass:/Users/lambert/gnu/gm2-dev/
gcc-4.1.2/gcc/testsuite/../gm2/gm2-compiler:../gm2/gm2-libs:../gm2/gm2-
compiler:/usr/local/gm2/lib/gcc/i386-apple-darwin9.6.0/4.1.2/gm2/pim:/
usr/local/gm2/lib/gcc/i386-apple-darwin9.6.0/4.1.2/gm2/logitech -
ftarget-ranlib=/usr/bin/ranlib -ftarget-ar=/usr/bin/ar -fobject-path=/
Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/testsuite/gm2/exceptions/run/
pass:/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/testsuite/../gm2/gm2-
libs:/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/testsuite/../gm2/pim/
pass:/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/testsuite/../gm2/gm2-
compiler:../gm2/gm2-libs:../gm2/gm2-compiler:/usr/local/gm2/lib/gcc/
i386-apple-darwin9.6.0/4.1.2/gm2/pim:/usr/local/gm2/lib/gcc/i386-apple-
darwin9.6.0/4.1.2/gm2/logitech -I/Users/lambert/gnu/gm2-dev/gcc-4.1.2/
gcc/testsuite/gm2/exceptions/run/pass:/Users/lambert/gnu/gm2-dev/
gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs:/Users/lambert/gnu/gm2-dev/
gcc-4.1.2/gcc/testsuite/../gm2/pim/pass:/Users/lambert/gnu/gm2-dev/
gcc-4.1.2/gcc/testsuite/../gm2/gm2-compiler:../gm2/gm2-libs:../gm2/gm2-
compiler:/usr/local/gm2/lib/gcc/i386-apple-darwin9.6.0/4.1.2/gm2/pim:/
usr/local/gm2/lib/gcc/i386-apple-darwin9.6.0/4.1.2/gm2/logitech /Users/
lambert/gnu/gm2-dev/gcc-4.1.2/gcc/testsuite/gm2/exceptions/run/pass/
libexcept.mod -o /var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//
ccjzbKDS.s
GNU Modula-2 version 4.1.2 (i386-apple-darwin9.6.0)
compiled by GNU C version 4.0.1 (Apple Inc. build 5490).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-
heapsize=131072
/Users/lambert/gnu/gm2-dev/obj/gcc/as -arch i386 -
force_cpusubtype_ALL -o /Users/lambert/gnu/gm2-dev/obj/gcc/testsuite/
libexcept.o /var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//
ccjzbKDS.s
bash-3.2$ /Users/lambert/gnu/gm2-dev/obj/gcc/xgm2 --verbose -B/Users/
lambert/gnu/gm2-dev/obj/gcc -I/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/
testsuite/gm2/exceptions/run/pass:/Users/lambert/gnu/gm2-dev/gcc-4.1.2/
gcc/testsuite/../gm2/gm2-libs:/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/
testsuite/../gm2/pim/pass:/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/
testsuite/../gm2/gm2-compiler:../gm2/gm2-libs:../gm2/gm2-compiler /
Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/testsuite/gm2/exceptions/run/
pass/libexcept.mod -L/Users/lambert/gnu/gm2-dev/obj/i386-apple-
darwin9.6.0/./libstdc++-v3/src/.libs -L/Users/lambert/gnu/gm2-dev/obj/
i386-apple-darwin9.6.0/./libstdc++-v3/src/.libs -lm -o /Users/
lambert/gnu/gm2-dev/obj/gcc/testsuite/libexcept.x0
xgm2: : No such file or directory
Reading specs from /Users/lambert/gnu/gm2-dev/obj/gcc/specs
Target: i386-apple-darwin9.6.0
Configured with: ../gcc-4.1.2/configure --prefix=/usr/local/gm2 --
disable-multilib --enable-languages=c,c++,gm2
Thread model: posix
gcc version 4.1.2
/Users/lambert/gnu/gm2-dev/obj/gcc/gm2l -I/Users/lambert/gnu/gm2-dev/
gcc-4.1.2/gcc/testsuite/gm2/exceptions/run/pass:/Users/lambert/gnu/gm2-
dev/gcc-4.1.2/gcc/testsuite/../gm2/gm2-libs:/Users/lambert/gnu/gm2-dev/
gcc-4.1.2/gcc/testsuite/../gm2/pim/pass:/Users/lambert/gnu/gm2-dev/
gcc-4.1.2/gcc/testsuite/../gm2/gm2-compiler:../gm2/gm2-libs:../gm2/gm2-
compiler:/usr/local/gm2/lib/gcc/i386-apple-darwin9.6.0/4.1.2/gm2/pim:/
usr/local/gm2/lib/gcc/i386-apple-darwin9.6.0/4.1.2/gm2/logitech -o /
var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//ccH5jZmd.l /Users/
lambert/gnu/gm2-dev/gcc-4.1.2/gcc/testsuite/gm2/exceptions/run/pass/
libexcept.mod
/Users/lambert/gnu/gm2-dev/obj/gcc/gm2lorder /var/folders/5r/
5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//ccH5jZmd.l -o /var/folders/5r/
5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//ccl6kMun.lst
/Users/lambert/gnu/gm2-dev/obj/gcc/gm2lgen -cpp /var/folders/5r/
5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//ccl6kMun.lst -o /var/folders/5r/
5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//ccQvLBxz.cpp
/Users/lambert/gnu/gm2-dev/obj/gcc/gm2cc -v -B/Users/lambert/gnu/gm2-
dev/obj/gcc -c -o /var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//
ccXKBM2Wstart.o /var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//
ccQvLBxz.cpp
Reading specs from /Users/lambert/gnu/gm2-dev/obj/gcc/specs
Target: i386-apple-darwin9.6.0
Configured with: ../gcc-4.1.2/configure --prefix=/usr/local/gm2 --
disable-multilib --enable-languages=c,c++,gm2
Thread model: posix
gcc version 4.1.2
/Users/lambert/gnu/gm2-dev/obj/gcc/cc1plus -quiet -v -iprefix /Users/
lambert/gnu/gm2-dev/obj/gcc/../lib/gcc/i386-apple-darwin9.6.0/4.1.2/ -
isystem /Users/lambert/gnu/gm2-dev/obj/gcc/include -D__DYNAMIC__ /var/
folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//ccQvLBxz.cpp -fPIC -
quiet -dumpbase ccQvLBxz.cpp -auxbase-strip /var/folders/5r/
5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//ccXKBM2Wstart.o -version -o /var/
folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//ccsABguf.s
ignoring nonexistent directory "/Users/lambert/gnu/gm2-dev/obj/gcc/../
lib/gcc/i386-apple-darwin9.6.0/4.1.2/../../../../include/c++/4.1.2"
ignoring nonexistent directory "/Users/lambert/gnu/gm2-dev/obj/gcc/../
lib/gcc/i386-apple-darwin9.6.0/4.1.2/../../../../include/c++/4.1.2/
i386-apple-darwin9.6.0"
ignoring nonexistent directory "/Users/lambert/gnu/gm2-dev/obj/gcc/../
lib/gcc/i386-apple-darwin9.6.0/4.1.2/../../../../include/c++/4.1.2/
backward"
ignoring nonexistent directory "/Users/lambert/gnu/gm2-dev/obj/gcc/../
lib/gcc/i386-apple-darwin9.6.0/4.1.2/include"
ignoring nonexistent directory "/Users/lambert/gnu/gm2-dev/obj/gcc/../
lib/gcc/i386-apple-darwin9.6.0/4.1.2/../../../../i386-apple-
darwin9.6.0/include"
ignoring nonexistent directory "/usr/local/gm2/lib/gcc/i386-apple-
darwin9.6.0/4.1.2/../../../../i386-apple-darwin9.6.0/include"
#include "..." search starts here:
#include <...> search starts here:
/Users/lambert/gnu/gm2-dev/obj/gcc/include
/usr/local/gm2/lib/gcc/i386-apple-darwin9.6.0/4.1.2/../../../../
include/c++/4.1.2
/usr/local/gm2/lib/gcc/i386-apple-darwin9.6.0/4.1.2/../../../../
include/c++/4.1.2/i386-apple-darwin9.6.0
/usr/local/gm2/lib/gcc/i386-apple-darwin9.6.0/4.1.2/../../../../
include/c++/4.1.2/backward
/usr/local/include
/usr/local/gm2/include
/usr/local/gm2/lib/gcc/i386-apple-darwin9.6.0/4.1.2/include
/usr/include
/System/Library/Frameworks
/Library/Frameworks
End of search list.
GNU C++ version 4.1.2 (i386-apple-darwin9.6.0)
compiled by GNU C version 4.0.1 (Apple Inc. build 5490).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-
heapsize=131072
Compiler executable checksum: 28c05e3e296ac780d0d3497ad6f4b4ae
/Users/lambert/gnu/gm2-dev/obj/gcc/as -arch i386 -
force_cpusubtype_ALL -o /var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-
Tmp-//ccXKBM2Wstart.o /var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-
Tmp-//ccsABguf.s
rm -f /var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//ccEorhpC.a
/Users/lambert/gnu/gm2-dev/obj/gcc/gm2lcc -B/Users/lambert/gnu/gm2-
dev/obj/gcc -ftarget-ar=/usr/bin/ar -ftarget-ranlib=/usr/bin/ranlib -
fobject-path=/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/testsuite/gm2/
exceptions/run/pass:/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/
testsuite/../gm2/gm2-libs:/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/
testsuite/../gm2/pim/pass:/Users/lambert/gnu/gm2-dev/gcc-4.1.2/gcc/
testsuite/../gm2/gm2-compiler:../gm2/gm2-libs:../gm2/gm2-compiler:/usr/
local/gm2/lib/gcc/i386-apple-darwin9.6.0/4.1.2/gm2/pim:/usr/local/gm2/
lib/gcc/i386-apple-darwin9.6.0/4.1.2/gm2/logitech -v -exec -startup /
var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//ccXKBM2Wstart.o -ar -
o /var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//ccEorhpC.a /var/
folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//ccl6kMun.lst
/usr/bin/ar rc /var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//
ccEorhpC.a /var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//
ccXKBM2Wstart.o ../gm2/gm2-libs/Storage.o ../gm2/gm2-libs/SYSTEM.o ../
gm2/gm2-libs/M2RTS.o ../gm2/gm2-libs/RTExceptions.o ../gm2/gm2-libs/
StrIO.o ../gm2/gm2-libs/ASCII.o ../gm2/gm2-libs/StrLib.o ../gm2/gm2-
libs/Assertion.o ../gm2/gm2-libs/DynamicStrings.o ../gm2/gm2-libs/
NumberIO.o ../gm2/gm2-libs/FIO.o ../gm2/gm2-libs/IO.o ../gm2/gm2-libs/
StdIO.o ../gm2/gm2-libs/Debug.o ../gm2/gm2-libs/SysStorage.o ../gm2/
gm2-libs/M2EXCEPTION.o libexcept.o
/usr/bin/ranlib /var/folders/5r/5rG8VggWHx4wBa0Sofcs6U+++TI/-Tmp-//
ccEorhpC.a
- [Gm2] Mac OS X Linking Errors,
Michael Lambert <=