This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/49919] problem with building gcc 4.6.1 on Mac OS X Lion


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49919

--- Comment #8 from Dmitry Markman <dmarkman at mac dot com> 2011-07-31 16:24:55 UTC ---
Hi
I followed instructions from 
http://advogato.org/person/redi/diary/240.html

so gmp, mpfr and mic were built,  when I issued make for gcc
here is what I did
mkdir <path_to_gcc>/objdir
cd <path_to_gcc>/objdir
<path_to_gcc>/gcc-4.6.1/configure
--prefix=/Users/dima/Development/GCC/builds/gcc-4.6.1/build/x86_64
--enable-languages=c,c++,fortran


however I got the same error
checking for x86_64-apple-darwin11.0.0-gcc...
/Users/dima/Development/GCC/objdir/./gcc/xgcc
-B/Users/dima/Development/GCC/objdir/./gcc/
-B/Users/dima/Development/GCC/builds/gcc-4.6.1/build/x86_64/x86_64-apple-darwin11.0.0/bin/
-B/Users/dima/Development/GCC/builds/gcc-4.6.1/build/x86_64/x86_64-apple-darwin11.0.0/lib/
-isystem
/Users/dima/Development/GCC/builds/gcc-4.6.1/build/x86_64/x86_64-apple-darwin11.0.0/include
-isystem
/Users/dima/Development/GCC/builds/gcc-4.6.1/build/x86_64/x86_64-apple-darwin11.0.0/sys-include 
checking for suffix of object files... configure: error: in
`/Users/dima/Development/GCC/objdir/x86_64-apple-darwin11.0.0/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2


thanks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]