In message <[email protected]> Michael Ben-Gershon <[email protected]> wrote:
> I installed the new gcc 4.1.1 and 'make' on my Iyonix machine, but when > I tried to build the examples it failed. It does not seem to find the > 'libexec' files. What have I doe wrong? Here is what was displayed in my > task window (with the gcc command in the Makefile changed to 'gcc -v' in > order to see what is going on): > > > > <ADFS::Hard_Disc.$.Development.gcc.Examples.C> 17:41 *make > gcc -v -mlibscl -O3 -o ackermann_scl ackermann.c > Using built-in specs. > Target: arm-unknown-riscos > Configured with: > /home/joty/projects/gccsdk/gccsdk_svn/gcc4/srcdir/configure > --prefix=/home/joty/projects/gccsdk/gccsdk_svn/gcc4/release-area/full/!GCC > --build=x86_64-unknown-linux-gnu --host=arm-unknown-riscos > --target=arm-unknown-riscos --enable-threads=posix --disable-nls > --enable-sjlj-exceptions=yes --disable-c-mbchar --enable-languages=c,c++ > --enable-checking=no --disable-libstdcxx-pch --enable-c99 --enable-cmath > --with-cross-host --enable-multilib --without-pic --disable-shared > --without-x --enable-libgcj --enable-maintainer-mode > Thread model: posix > gcc version 4.1.1 (GCCSDK GCC 4.1.1 release 1) > cc1 -quiet -v -iprefix > /ADFS::Hard_Disc.$/Development/gcc/Examples/../lib/gcc/arm-unknown-riscos/4.1.1/ > > -D__TARGET_SCL__ -icrossdirafter /libscl ackermann.c -quiet -dumpbase > ackermann.c -mlibscl -mhard-float -auxbase ackermann -O3 -version -o > /tmp/ccINRbco.s > File 'cc1' not found Very curious. Basically cc1 gets located by the gcc frontend based on the location of gcc frontend itself. And the latter knows where it is located based on its argv[0] which gets canonicalised by UnixLib. I'm not sure why it fails on your setup. A few questions: 1) Where is your !GCC located ? Also on your ADFS::Hard_Disc ? 2) Is this a recent 'make' you used (not that I think this should be important) ? If not, what happens if you take the latest port from <URL:http://www.riscos.info/packages/ABCIndex.html> ? Or if you execute "gcc -v -mlibscl -O3 -o ackermann_scl ackermann.c" in a TaskWindow when ADFS::Hard_Disc.$.Development.gcc.Examples.C is your CSD ? A question for someone else with an Iyonix: did someone else try the examples on an Iyonix as I hope this is not a RISC OS 5 filename canonicalisation/prefix problem ? John. -- John Tytgat, in his comfy chair at home BASS [email protected] ARM powered, RISC OS driven _______________________________________________ GCCSDK mailing list [email protected] Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
