To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3010
3009  |  3011
Subject: 
Installation Help!
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 6 Dec 2002 22:52:31 GMT
Viewed: 
3115 times
  
Hi,
I'm sorry if this has already been posted a million times before. I tried
using te search for some of the errors I am seeing but I couldn't find any
matches. It is failing when I try to build the gcc compiler. I'm following
the installation instructions on sourceforge.net for Cygwin using Win9x. I
installed Cygwin with the packages listed. I would appriciate any help with
this. Note that I cut out the source code installation output from below as
it appeared to work just fine. Thanks!

Andy

Wed Dec 4 01:40:53 2002 Source code installation end
Building binutils-2.10.1...
Wed Dec 4 01:40:54 2002 Binutils configuration start
Configuring for a i586-pc-cygwin host.
Created "Makefile" in /build/binutils using "mh-frag"
cc: not found
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Wed Dec 4 01:42:44 2002 Binutils configuration end
Wed Dec 4 01:42:45 2002 Binutils build start
Configuring in ./libiberty
creating cache ./config.cache
checking host system type... i586-pc-cygwin
checking build system type... i586-pc-cygwin
checking for ar... h8300-hitachi-hms-ar
checking for ranlib... h8300-hitachi-hms-ranlib
checking for gcc... h8300-hitachi-hms-gcc
checking whether we are using GNU C... no
checking for POSIXized ISC... no
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... grep: conftest.out: No such file
or directory
h8300-hitachi-hms-gcc -E
checking for sys/file.h... grep: conftest.out: No such file or directory
yes
checking for sys/param.h... grep: conftest.out: No such file or directory
yes
checking for stdlib.h... grep: conftest.out: No such file or directory
yes
checking for string.h... grep: conftest.out: No such file or directory
yes
checking for unistd.h... grep: conftest.out: No such file or directory
yes
checking for strings.h... grep: conftest.out: No such file or directory
yes
checking for sys/time.h... grep: conftest.out: No such file or directory
yes
checking for sys/resource.h... grep: conftest.out: No such file or directory
yes
checking for sys/stat.h... grep: conftest.out: No such file or directory
yes
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether the C compiler (h8300-hitachi-hms-gcc -g ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
Wed Dec 4 01:44:42 2002 Binutils build end
Wed Dec 4 01:44:43 2002 Binutils install start
/bin/sh /build/binutils-2.10.1/mkinstalldirs /usr/local /usr/local
Wed Dec 4 01:45:31 2002 Binutils install
Building gcc-2.95.2...
Wed Dec 4 01:45:32 2002 GCC patch start
patching file `gcc\config\h8300\h8300.c.orig'
patching file `gcc\config\h8300\h8300.h.orig'
Wed Dec 4 01:45:34 2002 GCC patch end
Wed Dec 4 01:45:34 2002 GCC configuration start
Configuring for a i586-pc-cygwin32 host.
*** This configuration is not supported in the following subdirectories:
     target-libstdc++ target-libio
    (Any other directories should still work fine.)
Created "Makefile" in /build/gcc using "mh-frag" and "mt-frag"
cc: not found
*** The command 'cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Wed Dec 4 01:47:25 2002 GCC configuration end
Wed Dec 4 01:47:25 2002 GCC build start
Building the C and C++ compiler
cd: can't cd to gcc
make[1]: Entering directory `/build/gcc'
Configuring in ./libio
Configuring for a i586-pc-cygwin32 host.
Created "Makefile" in /build/gcc/libio using "target-mkfrag"
Configuring tests...
Created "Makefile" in /build/gcc/libio/tests
Configuring dbz...
Linked "rdbz.c" to "/build/gcc-2.95.2/libio/dbz/dbz.c".
Linked "rdbzmain.c" to "/build/gcc-2.95.2/libio/dbz/dbzmain.c".
Created "Makefile" in /build/gcc/libio/dbz
Configuring stdio...
Created "Makefile" in /build/gcc/libio/stdio
Configuring testsuite...
Created "Makefile" in /build/gcc/libio/testsuite
Configuring in ./libiberty
creating cache ./config.cache
checking host system type... i586-pc-cygwin32
checking build system type... i586-pc-cygwin32
checking for ar... h8300-hitachi-hms-ar
checking for ranlib... h8300-hitachi-hms-ranlib
checking for gcc... h8300-hitachi-hms-gcc
checking whether we are using GNU C... no
checking for POSIXized ISC... no
checking for a BSD compatible install... /bin/sh /build/gcc-2.95.2/install-sh -c
checking how to run the C preprocessor... grep: conftest.out: No such file
or directory
h8300-hitachi-hms-gcc -E
checking for sys/file.h... grep: conftest.out: No such file or directory
yes
checking for sys/param.h... grep: conftest.out: No such file or directory
yes
checking for stdlib.h... grep: conftest.out: No such file or directory
yes
checking for string.h... grep: conftest.out: No such file or directory
yes
checking for unistd.h... grep: conftest.out: No such file or directory
yes
checking for strings.h... grep: conftest.out: No such file or directory
yes
checking for sys/time.h... grep: conftest.out: No such file or directory
yes
checking for sys/resource.h... grep: conftest.out: No such file or directory
yes
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether the C compiler (h8300-hitachi-hms-gcc -g -Os ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
make[2]: Entering directory `/build/gcc/libio'
if [ x"no" = xyes ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
rootme=`pwd`/ ; export rootme; \
CC="h8300-hitachi-hms-gcc -I. -I/build/gcc-2.95.2/libio
-I/build/gcc-2.95.2/libio/../winsup/include"; export CC; \
CXX="h8300-hitachi-hms-c++ -I. -I/build/gcc-2.95.2/libio
-I/build/gcc-2.95.2/libio/../winsup/include -nostdinc++ -nostdinc++ -g -Os";
export CXX; \
CONFIG_NM="h8300-hitachi-hms-nm"; export CONFIG_NM; \
/bin/sh /build/gcc-2.95.2/libio/gen-params LIB_VERSION=2.8.0  >tmp-params.h
h8300-hitachi-hms-c++: not found
gen-params: could not compile dummy.C with h8300-hitachi-hms-c++ -I.
-I/build/gcc-2.95.2/libio -I/build/gcc-2.95.2/libio/../winsup/include
-nostdinc++ -nostdinc++ -g -Os
make[2]: *** [_G_config.h] Error 1
make[2]: Leaving directory `/build/gcc/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/build/gcc'
make: *** [cross] Error 2
Wed Dec 4 01:51:17 2002 GCC build end
Wed Dec 4 01:51:18 2002 GCC install start
/bin/sh /build/gcc-2.95.2/mkinstalldirs /usr/local /usr/local
make[1]: Entering directory `/build/gcc/libio'
rootme=`pwd`/ ; export rootme ; \
if [ -z "" ]; then \
  if [ "_G_config.h" != "" ]; then \
    if [ xno = xyes ]; then \
      rm -f /usr/local/include/g++/_G_config.h ; \
      /bin/sh /build/gcc-2.95.2/install-sh -c -m 644 _G_config.h
/usr/local/include/g++/_G_config.h || exit 1; \
    else \
      rm -f /usr/local/h8300-hitachi-hms/include/_G_config.h ; \
      /bin/sh /build/gcc-2.95.2/install-sh -c -m 644 _G_config.h
/usr/local/h8300-hitachi-hms/include/_G_config.h || exit 1; \
    fi; \
  else true; \
  fi ; \
  cd /build/gcc-2.95.2/libio; \
  for FILE in *.h; do if [ $FILE != _G_config.h ]; then \
    rm -f /usr/local/include/g++/$FILE ; \
    /bin/sh /build/gcc-2.95.2/install-sh -c -m 644 $FILE
/usr/local/include/g++/$FILE ; \
    chmod a-x /usr/local/include/g++/$FILE ; \
  else true; fi; done ; \
else true; \
fi
install:  _G_config.h does not exist
make[1]: *** [install] Error 1
make[1]: Leaving directory `/build/gcc/libio'
make: *** [install-target-libio] Error 2
Wed Dec 4 01:52:06 2002 GCC install end
Done.
Done.
:-------------------- End Wed Dec  4 01:52:07  2002 --------------------:



Message has 2 Replies:
  Re: Installation Help!
 
Hello I am certainly not an expert, and have not yet been successful in installing BrickOS myself. But I have some experience in one of the messages that you are getting: (...) I believe that if you are using the instructions as listed at (URL) that (...) (22 years ago, 6-Dec-02, to lugnet.robotics.rcx.legos)
  Re: Installation Help!
 
(...) Are you *sure* you installed gcc ? Try 'gcc -v' from a Cygwin prompt, and post the output. Max. (22 years ago, 7-Dec-02, to lugnet.robotics.rcx.legos)

8 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR