public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Building gcc-4.2.0 under IRIX64
@ 2007-06-13  1:49 Hugo R. Hernandez-Mora
  2007-06-13  2:58 ` David Daney
       [not found] ` <467054A0.7050903@mbnet.fi>
  0 siblings, 2 replies; 3+ messages in thread
From: Hugo R. Hernandez-Mora @ 2007-06-13  1:49 UTC (permalink / raw)
  To: gcc-help

Folks,
I am trying to build gcc-4.2.0 under IRIX64 6.5 but I am having the 
following error:

    *# ./configure --prefix=/usr/local/gcc-4.2.0
    --with-gmp=/usr/local/gmp-4.2.1
    --with-gmp-lib=/usr/local/gmp-4.2.1/lib
    --with-mpfr=/usr/local/mpfr-2.2.1
    --with-mpfr-lib=/usr/local/mpfr-2.2.1/lib
    # make

    *...

    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory
    `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/libiberty/testsuite'
    gmake[3]: Leaving directory
    `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/libiberty'
    gmake[3]: Entering directory `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/intl'
    rm -f stamp-h1
    /bin/sh ./config.status config.h
    config.status: creating config.h
    config.status: config.h is unchanged
    test -f config.h || (rm -f stamp-h1 && gmake stamp-h1)
    gmake[3]: Leaving directory `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/intl'
    gmake[3]: Entering directory
    `/tmp/gcc-4.2.0/build-mips-sgi-irix6.5/libiberty'
    gmake[4]: Entering directory
    `/tmp/gcc-4.2.0/build-mips-sgi-irix6.5/libiberty/testsuite'
    gmake[4]: Nothing to be done for `all'.
    gmake[4]: Leaving directory
    `/tmp/gcc-4.2.0/build-mips-sgi-irix6.5/libiberty/testsuite'
    gmake[3]: Leaving directory
    `/tmp/gcc-4.2.0/build-mips-sgi-irix6.5/libiberty'
    gmake[3]: Entering directory
    `/tmp/gcc-4.2.0/build-mips-sgi-irix6.5/fixincludes'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory
    `/tmp/gcc-4.2.0/build-mips-sgi-irix6.5/fixincludes'
    gmake[3]: Entering directory `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/zlib'
    true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g
    -fkeep-inline-functions" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2"
    "CFLAGS_FOR_TARGET=-O2 -g -O2 " "INSTALL=/usr/gnu/bin/ginstall -c"
    "INSTALL_DATA=/usr/gnu/bin/ginstall -c -m 644"
    "INSTALL_PROGRAM=/usr/gnu/bin/ginstall -c"
    "INSTALL_SCRIPT=/usr/gnu/bin/ginstall -c" "LDFLAGS=" "LIBCFLAGS=-g
    -fkeep-inline-functions" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 "
    "MAKE=gmake" "MAKEINFO=/tmp/gcc-4.2.0/missing makeinfo
    --split-size=5000000 --split-size=5000000 --split-size=5000000 "
    "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect"
    "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local/gcc-4.2.0"
    "infodir=/usr/local/gcc-4.2.0/info"
    "libdir=/usr/local/gcc-4.2.0/lib" "prefix=/usr/local/gcc-4.2.0"
    "tooldir=/usr/local/gcc-4.2.0/mips-sgi-irix6.5" "AR=ar" "AS=as"
    "CC=gcc" "CXX=c++" "LD=/usr/bin/ld" "LIBCFLAGS=-g
    -fkeep-inline-functions" "NM=nm" "PICFLAG=" "RANLIB=:" "DESTDIR="
    DO=all multi-do # gmake
    gmake[3]: Leaving directory `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/zlib'
    gmake[3]: Entering directory
    `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/libcpp'
    test -f config.h || (rm -f stamp-h1 && gmake stamp-h1)
    gmake[3]: Leaving directory
    `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/libcpp'
    gmake[3]: Entering directory
    `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/libdecnumber'
    gmake[3]: Nothing to be done for `all'.
    gmake[3]: Leaving directory
    `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/libdecnumber'
    gmake[3]: Entering directory `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/gcc'
    gmake[3]: *** No rule to make target `all'.  Stop.
    gmake[3]: Leaving directory `/tmp/gcc-4.2.0/host-mips-sgi-irix6.5/gcc'
    gmake[2]: *** [all-stage1-gcc] Error 2
    gmake[2]: Leaving directory `/tmp/gcc-4.2.0'
    gmake[1]: *** [stage1-bubble] Error 2
    gmake[1]: Leaving directory `/tmp/gcc-4.2.0'
    gmake: *** [all] Error 2


I have no idea what this error means.   I have been trying to get 
information about it without any luck.   I will appreciate any help you 
can provide to me.
Thanks in advance!
- Hugo

-- 
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@loni.ucla.edu
--

"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" 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Building gcc-4.2.0 under IRIX64
  2007-06-13  1:49 Building gcc-4.2.0 under IRIX64 Hugo R. Hernandez-Mora
@ 2007-06-13  2:58 ` David Daney
       [not found] ` <467054A0.7050903@mbnet.fi>
  1 sibling, 0 replies; 3+ messages in thread
From: David Daney @ 2007-06-13  2:58 UTC (permalink / raw)
  To: Hugo R. Hernandez-Mora; +Cc: gcc-help

Hugo R. Hernandez-Mora wrote:
> Folks,
> I am trying to build gcc-4.2.0 under IRIX64 6.5 but I am having the 
> following error:
> 
>    *# ./configure --prefix=/usr/local/gcc-4.2.0
>    --with-gmp=/usr/local/gmp-4.2.1
>    --with-gmp-lib=/usr/local/gmp-4.2.1/lib
>    --with-mpfr=/usr/local/mpfr-2.2.1
>    --with-mpfr-lib=/usr/local/mpfr-2.2.1/lib
>    # make
> 

Building from within the source directory is not well supported.  Try 
doing a build in a separate directory:


cd ..
mkdir build_dir
cd build_dir
../gcc-4.2.0/configure ...
gmake

David Daney

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Building gcc-4.2.0 under IRIX64
       [not found] ` <467054A0.7050903@mbnet.fi>
@ 2007-06-14  3:22   ` Hugo R. Hernandez-Mora
  0 siblings, 0 replies; 3+ messages in thread
From: Hugo R. Hernandez-Mora @ 2007-06-14  3:22 UTC (permalink / raw)
  To: Kai Ruottu; +Cc: gcc-help

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@loni.ucla.edu
--

"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" 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-13 21:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-13  1:49 Building gcc-4.2.0 under IRIX64 Hugo R. Hernandez-Mora
2007-06-13  2:58 ` David Daney
     [not found] ` <467054A0.7050903@mbnet.fi>
2007-06-14  3:22   ` Hugo R. Hernandez-Mora

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).