public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem Building on OS X 10.4.3 (Tiger).
@ 2005-11-29 15:14 Niko Matsakis
       [not found] ` <755798E8D0ED7C43B2169A3673E1EB5F59445C@EXVS01.mcis.agrinet.local>
  0 siblings, 1 reply; 2+ messages in thread
From: Niko Matsakis @ 2005-11-29 15:14 UTC (permalink / raw)
  To: gcc-help

I am attempting to build gcc from the Subversion sources on OS X  
10.4.3 (Tiger).  All I have done is to check it out with subversion,  
configure it, and type "make".

My configure line looks like:

../gcc/configure --prefix=$HOME/proj/coro/gcc/install --program- 
prefix=proj- --enable-languages=c,c++,java,objc,obj-c++ --disable-static

This proceeds fine.   I then attempt either a "make" or "make  
bootstrap": both die at the same place, which seems to have something  
to do with building libstdc++.

Here is the actual error I get.  It comes at the end of a long string  
of configure output (shown below):

> ...
> checking whether make sets $(MAKE)... yes
> checking for powerpc-apple-darwin8.3.0-gcc... /Users/niko/proj/coro/ 
> gcc/objs/
> cc/xgcc -B/Users/niko/proj/coro/gcc/objs/./gcc/ -B/Users/niko/proj/ 
> coro/gcc/i
> all/powerpc-apple-darwin8.3.0/bin/ -B/Users/niko/proj/coro/gcc/ 
> install/powerp
> pple-darwin8.3.0/lib/ -isystem /Users/niko/proj/coro/gcc/install/ 
> powerpc-appl
> arwin8.3.0/include -isystem /Users/niko/proj/coro/gcc/install/ 
> powerpc-apple-d
> in8.3.0/sys-include  -m64
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... configure: error: cannot  
> run C compi
> programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> make[1]: *** [configure-target-libstdc++-v3] Error 1
> make: *** [all] Error 2

Any ideas?

One thing which might be worth nothing is that I have no powerpc- 
apple-darwin8.3.0-gcc installed.  I do, however, have a powerpc-apple- 
darwin8-gcc-4.0.0.

Thanks a lot for any help!


Niko


------------------------------------------------------------------

Here is the full context (as much as I could get from my xterm):

checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking for poll... yes
checking for S_ISREG or S_IFREG... S_ISREG
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for writev... yes
checking for int64_t... yes
checking for LFS support... no
checking whether the target supports thread-local storage... no
checking for locale.h... (cached) yes
checking for LC_MESSAGES... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for size_t as unsigned int... no
checking for ptrdiff_t as int... yes
configure: versioning on shared library symbols is darwin-export
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for RLIMIT_DATA... yes
checking for RLIMIT_RSS... yes
checking for RLIMIT_VMEM... no
checking for RLIMIT_AS... yes
checking for RLIMIT_FSIZE... yes
checking for testsuite resource limits support... yes
checking for setenv declaration... yes
checking for setenv... yes
updating cache ./config.cache
checking for gxx-include-dir... no
checking for --enable-version-specific-runtime-libs... no
checking for install location... ${prefix}/include/c++/${gcc_version}
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating libmath/Makefile
config.status: creating libsupc++/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating scripts/testsuite_flags
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../gcc/libstdc++-v3
multidirs=ppc64
with_multisubdir=
Running configure in multilib subdirs ppc64
pwd: /Users/niko/proj/coro/gcc/objs/powerpc-apple-darwin8.3.0/libstdc+ 
+-v3
Running configure in multilib subdir ppc64
pwd: /Users/niko/proj/coro/gcc/objs/powerpc-apple-darwin8.3.0
mkdir ppc64
configure: creating cache ./config.cache
checking build system type... powerpc-apple-darwin8.3.0
checking host system type... powerpc-apple-darwin8.3.0
checking target system type... powerpc-apple-darwin8.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for locale.h... (cached) yes
checking for LC_MESSAGES... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for size_t as unsigned int... no
checking for ptrdiff_t as int... yes
configure: versioning on shared library symbols is darwin-export
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for RLIMIT_DATA... yes
checking for RLIMIT_RSS... yes
checking for RLIMIT_VMEM... no
checking for RLIMIT_AS... yes
checking for RLIMIT_FSIZE... yes
checking for testsuite resource limits support... yes
checking for setenv declaration... yes
checking for setenv... yes
updating cache ./config.cache
checking for gxx-include-dir... no
checking for --enable-version-specific-runtime-libs... no
checking for install location... ${prefix}/include/c++/${gcc_version}
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating libmath/Makefile
config.status: creating libsupc++/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating scripts/testsuite_flags
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../gcc/libstdc++-v3
multidirs=ppc64
with_multisubdir=
Running configure in multilib subdirs ppc64
pwd: /Users/niko/proj/coro/gcc/objs/powerpc-apple-darwin8.3.0/libstdc+ 
+-v3
Running configure in multilib subdir ppc64
pwd: /Users/niko/proj/coro/gcc/objs/powerpc-apple-darwin8.3.0
mkdir ppc64
configure: creating cache ./config.cache
checking build system type... powerpc-apple-darwin8.3.0
checking host system type... powerpc-apple-darwin8.3.0
checking target system type... powerpc-apple-darwin8.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for powerpc-apple-darwin8.3.0-gcc... /Users/niko/proj/coro/ 
gcc/objs/
cc/xgcc -B/Users/niko/proj/coro/gcc/objs/./gcc/ -B/Users/niko/proj/ 
coro/gcc/i
all/powerpc-apple-darwin8.3.0/bin/ -B/Users/niko/proj/coro/gcc/ 
install/powerp
pple-darwin8.3.0/lib/ -isystem /Users/niko/proj/coro/gcc/install/ 
powerpc-appl
arwin8.3.0/include -isystem /Users/niko/proj/coro/gcc/install/powerpc- 
apple-d
in8.3.0/sys-include  -m64
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run  
C compi
programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make: *** [all] Error 2




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

* Re: Problem Building on OS X 10.4.3 (Tiger).
       [not found] ` <755798E8D0ED7C43B2169A3673E1EB5F59445C@EXVS01.mcis.agrinet.local>
@ 2005-11-30 12:29   ` Niko Matsakis
  0 siblings, 0 replies; 2+ messages in thread
From: Niko Matsakis @ 2005-11-30 12:29 UTC (permalink / raw)
  To: toa; +Cc: gcc-help

Indeed, that fixed it.


Thanks!

Niko

On Nov 25, 2005, at 3:47 PM, <toa@pop.agri.ch> <toa@pop.agri.ch> wrote:

> try --disable-multilib
>
> It's a non G5, isn't it?
>

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

end of thread, other threads:[~2005-11-26  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-29 15:14 Problem Building on OS X 10.4.3 (Tiger) Niko Matsakis
     [not found] ` <755798E8D0ED7C43B2169A3673E1EB5F59445C@EXVS01.mcis.agrinet.local>
2005-11-30 12:29   ` Niko Matsakis

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).