public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/41180]  New: can not build gcc 4.4.1 on Snow Leopard Mac OS X 10.6
@ 2009-08-28  3:13 dmarkman at mac dot com
  2009-08-28  3:17 ` [Bug c++/41180] " dmarkman at mac dot com
                   ` (33 more replies)
  0 siblings, 34 replies; 36+ messages in thread
From: dmarkman at mac dot com @ 2009-08-28  3:13 UTC (permalink / raw)
  To: gcc-bugs

Hi
I'm not able to build gcc 4.4.1 on Snow Leopard Mac Pro (
gmp 4.3.1 and mpfr 2.4.1 were  built without problem
#gmp
cd gmp-4.3.1
./configure --prefix=/home/dmarkman/Development/GCC/macintel64/gmp-4.3.1/build
make 
make install
make check

#mpfr
cd ../mpfr-2.4.1
./configure --prefix=/home/dmarkman/Development/GCC/macintel64/mpfr-2.4.1/build
--with-gmp=/home/dmarkman/Development/GCC/macintel64/gmp-4.3.1/build
make 
make install
make check
#gcc
cd ../gcc-4.4.1 
./configure --prefix=/home/dmarkman/Development/GCC/macintel64/mpfr-2.4.1/build
--with-gmp=/home/dmarkman/Development/GCC/macintel64/gmp-4.3.1/build
make

make compalins about incompatible library arch.
gmp and mpfr were built as x86_64 libraries 
I verified it with "file" command

so I just forced some flags to be x86_64:
setenv LDFLAGS "-arch x86_64"
setenv CFLAGS   "-arch x86_64"
setenv CXXFLAGS "-arch x86_64"
setenv CPPFLAGS "-arch x86_64"

make clean
make distclean

./configure --prefix=/home/dmarkman/Development/GCC/macintel64/mpfr-2.4.1/build
--with-gmp=/home/dmarkman/Development/GCC/macintel64/gmp-4.3.1/build
make

and after that I got another error:
checking for i386-apple-darwin10.0.0-gcc...
/Volumes/Macintosh_HD/Users/Shared/Development/GCC/gcc-4.4.1/host-i386-apple-darwin10.0.0/gcc/xgcc
-B/Volumes/Macintosh_HD/Users/Shared/Development/GCC/gcc-4.4.1/host-i386-apple-darwin10.0.0/gcc/
-B/home/dmarkman/Development/GCC/macintel64/gcc-4.4.1/build/i386-apple-darwin10.0.0/bin/
-B/home/dmarkman/Development/GCC/macintel64/gcc-4.4.1/build/i386-apple-darwin10.0.0/lib/
-isystem
/home/dmarkman/Development/GCC/macintel64/gcc-4.4.1/build/i386-apple-darwin10.0.0/include
-isystem
/home/dmarkman/Development/GCC/macintel64/gcc-4.4.1/build/i386-apple-darwin10.0.0/sys-include
checking for suffix of object files... configure: error: in
`/Volumes/Macintosh_HD/Users/Shared/Development/GCC/gcc-4.4.1/i386-apple-darwin10.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


-- 
           Summary: can not build gcc 4.4.1 on Snow Leopard Mac OS X 10.6
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dmarkman at mac dot com


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


^ permalink raw reply	[flat|nested] 36+ messages in thread
[parent not found: <bug-41180-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2014-02-16 13:14 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-28  3:13 [Bug c++/41180] New: can not build gcc 4.4.1 on Snow Leopard Mac OS X 10.6 dmarkman at mac dot com
2009-08-28  3:17 ` [Bug c++/41180] " dmarkman at mac dot com
2009-08-28 10:19 ` redi at gcc dot gnu dot org
2009-08-28 10:23 ` [Bug bootstrap/41180] " redi at gcc dot gnu dot org
2009-08-28 13:28 ` howarth at nitro dot med dot uc dot edu
2009-08-28 14:36 ` dmarkman at mac dot com
2009-08-28 14:37 ` dmarkman at mac dot com
2009-08-28 15:02 ` redi at gcc dot gnu dot org
2009-08-28 15:12 ` howarth at nitro dot med dot uc dot edu
2009-08-28 15:32 ` howarth at nitro dot med dot uc dot edu
2009-08-28 16:14 ` mrs at gcc dot gnu dot org
2009-08-28 17:28 ` dmarkman at mac dot com
2009-08-29  1:32 ` howarth at nitro dot med dot uc dot edu
2009-08-29  1:41 ` howarth at nitro dot med dot uc dot edu
2009-08-29  2:19 ` howarth at nitro dot med dot uc dot edu
2009-08-31 17:36 ` mrs at apple dot com
2009-08-31 17:38 ` mrs at apple dot com
2009-08-31 18:04 ` howarth at nitro dot med dot uc dot edu
2009-08-31 20:37 ` mrs at apple dot com
2009-09-01  4:00 ` howarth at nitro dot med dot uc dot edu
2009-09-01  4:23 ` howarth at nitro dot med dot uc dot edu
2009-09-02 20:37 ` mrs at apple dot com
2009-09-02 21:41 ` howarth at nitro dot med dot uc dot edu
2009-09-02 21:44 ` howarth at nitro dot med dot uc dot edu
2009-09-02 22:22 ` howarth at nitro dot med dot uc dot edu
2009-09-02 23:37 ` howarth at nitro dot med dot uc dot edu
2009-09-03  0:20 ` mrs at apple dot com
2009-09-03  0:56 ` howarth at nitro dot med dot uc dot edu
2009-09-03 11:04 ` joseph at codesourcery dot com
2009-09-03 13:00 ` howarth at nitro dot med dot uc dot edu
2009-09-04  1:50 ` mrs at apple dot com
2009-09-09  8:15 ` fxcoudert at gcc dot gnu dot org
2009-09-09  8:47 ` fxcoudert at gcc dot gnu dot org
2009-09-30 19:40 ` pinskia at gcc dot gnu dot org
2009-09-30 19:41 ` pinskia at gcc dot gnu dot org
     [not found] <bug-41180-4@http.gcc.gnu.org/bugzilla/>
2014-02-16 13:14 ` jackie.rosen at hushmail dot com

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