gcc 4.8.2

Plamen Peshev otkadeto@gmail.com
Sun Nov 17 17:14:00 GMT 2013


checking whether i18n number rewriting support for quadmath_snprintf
should be added... no
configure: updating cache ./config.cache
checking generated-files-in-srcdir... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
Adding multilib support to Makefile in
/Users/bondt/objdir/../Downloads/gcc-4.8.2/libquadmath
multidirs=x86_64
with_multisubdir=
Running configure in multilib subdirs x86_64
pwd: /Users/bond/objdir/i386-apple-darwin10.8.0/libquadmath
Running configure in multilib subdir x86_64
pwd: /Users/bond/objdir/i386-apple-darwin10.8.0
configure: creating cache ./config.cache
checking build system type... i386-apple-darwin10.8.0
checking host system type... i386-apple-darwin10.8.0
checking target system type... i386-apple-darwin10.8.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p...
/Users/bond/objdir/../Downloads/gcc-4.8.2/libquadmath/../install-sh -c
-d
checking for gawk... awk
checking whether make sets $(MAKE)... yes
checking for --enable-version-specific-runtime-libs... no
checking for style of include used by make... GNU
checking for i386-apple-darwin10.8.0-gcc...
/Users/bond/objdir/./gcc/xgcc -B/Users/bond/objdir/./gcc/
-B/Users/bond/gcc-4.8.2/i386-apple-darwin10.8.0/bin/
-B/Users/bond/gcc-4.8.2/i386-apple-darwin10.8.0/lib/ -isystem
/Users/bond/gcc-4.8.2/i386-apple-darwin10.8.0/include -isystem
/Users/bond/gcc-4.8.2/i386-apple-darwin10.8.0/sys-include  -m64
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in
`/Users/bond/objdir/i386-apple-darwin10.8.0/x86_64/libquadmath':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libquadmath] Error 1
make: *** [all] Error 2
bond-MacBook:objdir test$

I'm on Snow Leopard 10.6.8 Intel Duo Core it has only 32 bit version.
Fuck why it don't want to update to gcc 4.8.2. This snowleopard has gcc ver:
bond-MacBook:objdir test$ gcc --ver
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~123/src/configure
--disable-checking --enable-werror --prefix=/usr
--mandir=/usr/share/man --enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-slibdir=/usr/lib --build=i686-apple-darwin10
--with-gxx-include-dir=/usr/include/c++/4.2.1
--host=i686-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)

Best Regards

Plamen






On 11/17/13, Jeff Law <law@redhat.com> wrote:
> On 11/16/13 17:46, Plamen Peshev wrote:
>> I start compile gcc 4.8.2 in 21:00 h. " 9 pm " and now it is 01:41 "
>> 01:41 am " it is compiling 4 h. and 41 minutes. I'm on macbook 1.1
>> with 2 gb ram and 1.83 ghz. And it start to compile very slow. And
>> this shit is only in make, then it's need to make install.
> Building GCC is a complex process that involves building the compiler
> multiple times as a sanity check on its correctness.
>
> The stage1 compiler is built by the system compiler.  The stage1
> compiler is then used to build the stage2 compiler.  The stage2 compiler
> is then used to build the stage3 compiler.  The stage2 and stage3
> compilers are then compared -- any differences are an indication that
> GCC was mis-compiled.  This could be a bug in GCC itself, or a bug in
> the stage1 compiler.
>
> Additionally, you're building multiple languages.  Assuming the
> defaults, you'll be building C, C++, Objective-C, Fortran, Java and
> associated runtimes for those languages.
>
> And, believe it or not, each of the runtimes may need to be built twice
> for 32bit and 64bit modes.
>
> Needless to say, this takes considerable time.
>
> Jeff
>
>



More information about the Gcc-help mailing list