Re: Building gcc-4.2.0 under IRIX64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Kai,
thanks for your answer. I tried what you suggested with the same result. I have tried by using the source directory to build the code:

   # cd /tmp/gcc-4.2.0
   # ./configure --prefix=/usr/local/gcc-4.2.0
   --build=mips64-sgi-irix6.5 --host=mips64-sgi-irix6.5
   --target=mips64-sgi-irix6.5
   # make


and by building in a separate directory:

   # mkdir /tmp/build_gcc
   # cd /tmp/build_gcc
   # ../gcc-4.2.0/configure --prefix=/usr/local/gcc-4.2.0
   --build=mips64-sgi-irix6.5 --host=mips64-sgi-irix6.5
   --target=mips64-sgi-irix6.5
   # make


Same results in both cases:

   ...
   config.status: creating config.h
   config.status: executing gstdint.h commands
   make[3]: Entering directory `/tmp/build_gcc/libdecnumber'
   source='../../gcc-4.2.0/libdecnumber/decNumber.c'
   object='decNumber.o' libtool=no gcc  -I../../gcc-4.2.0/libdecnumber
   -I.  -g -fkeep-inline-functions -W -Wall -Wwrite-strings
   -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -I../../gcc-4.2.0/libdecnumber -I. -c
   ../../gcc-4.2.0/libdecnumber/decNumber.c
   source='../../gcc-4.2.0/libdecnumber/decContext.c'
   object='decContext.o' libtool=no gcc  -I../../gcc-4.2.0/libdecnumber
   -I.  -g -fkeep-inline-functions -W -Wall -Wwrite-strings
   -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -I../../gcc-4.2.0/libdecnumber -I. -c
   ../../gcc-4.2.0/libdecnumber/decContext.c
   source='../../gcc-4.2.0/libdecnumber/decUtility.c'
   object='decUtility.o' libtool=no gcc  -I../../gcc-4.2.0/libdecnumber
   -I.  -g -fkeep-inline-functions -W -Wall -Wwrite-strings
   -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -I../../gcc-4.2.0/libdecnumber -I. -c
   ../../gcc-4.2.0/libdecnumber/decUtility.c
   source='../../gcc-4.2.0/libdecnumber/decimal32.c'
   object='decimal32.o' libtool=no gcc  -I../../gcc-4.2.0/libdecnumber
   -I.  -g -fkeep-inline-functions -W -Wall -Wwrite-strings
   -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -I../../gcc-4.2.0/libdecnumber -I. -c
   ../../gcc-4.2.0/libdecnumber/decimal32.c
   source='../../gcc-4.2.0/libdecnumber/decimal64.c'
   object='decimal64.o' libtool=no gcc  -I../../gcc-4.2.0/libdecnumber
   -I.  -g -fkeep-inline-functions -W -Wall -Wwrite-strings
   -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -I../../gcc-4.2.0/libdecnumber -I. -c
   ../../gcc-4.2.0/libdecnumber/decimal64.c
   source='../../gcc-4.2.0/libdecnumber/decimal128.c'
   object='decimal128.o' libtool=no gcc  -I../../gcc-4.2.0/libdecnumber
   -I.  -g -fkeep-inline-functions -W -Wall -Wwrite-strings
   -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -I../../gcc-4.2.0/libdecnumber -I. -c
   ../../gcc-4.2.0/libdecnumber/decimal128.c
   rm -f libdecnumber.a
   ar cru libdecnumber.a decNumber.o decContext.o decUtility.o
   decimal32.o decimal64.o decimal128.o
   : libdecnumber.a
   make[3]: Leaving directory `/tmp/build_gcc/libdecnumber'
   make[3]: Entering directory `/tmp/build_gcc/gcc'
   make[3]: *** No rule to make target `all'.  Stop.
   make[3]: Leaving directory `/tmp/build_gcc/gcc'
   make[2]: *** [all-stage1-gcc] Error 2
   make[2]: Leaving directory `/tmp/build_gcc'
   make[1]: *** [stage1-bubble] Error 2
   make[1]: Leaving directory `/tmp/build_gcc'
   make: *** [all] Error 2



Kai Ruottu wrote:
Hugo R. Hernandez-Mora kirjoitti:
I am trying to build gcc-4.2.0 under IRIX64 6.5 but I am having the following error: gmake[3]: Entering directory `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/gcc'
   gmake[3]: *** No rule to make target `all'.  Stop.

I have no idea what this error means.
It simply tells that configuring in the $build/gcc directory failed for some reason and
therefore there is no 'Makefile'!  So please browse the file:

  /tmp/gcc-4.2.0/host-mips-sgi-irix6.5/gcc/config.log

and try to see what the problem was... My guess would be that the 'guessed' system
name seen  in:

  tooldir=/usr/local/gcc-4.2.0/mips-sgi-irix6.5

the 'mips-sgi-irix6.5', isn't in sync with the real 64-bit host. A 'mips' means a 32-bit system when 'mips64' would mean a 64-bit system. This then causing something going
wrong in the 'gcc' subdirectory configury....

The workaround could be to not let any 'guessing' happening with $build, $host and $target:

.../configure --build=mips64-sgi-irix6.5 --host=mips64-sgi-irix6.5 --target=mips64-sgi-irix6.5


--
Hugo R. Hernandez-Mora
System Administrator
Laboratory of Neuro Imaging, UCLA
635 Charles E. Young Drive South, Suite 225
Los Angeles, CA 90095-7332
Tel: 310.267.5076
Fax: 310.206.5518
hugo.hernandez@xxxxxxxxxxxxx
--

"Si seus esforços, foram vistos com indefrença, não desanime, que o sol faze un espectacolo maravilhoso todas as manhãs cuando a maior parte das pessoas, ainda estam durmindo"

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux