[haiku-development] Re: GCC 2.95.x on Mac OS X Intel (10.5.x)
- From: Michael Pfeiffer <michael.w.pfeiffer@xxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Tue, 16 Sep 2008 19:19:28 +0200
Am 16.09.2008 um 07:25 schrieb Keven Tipping:
First- add the following lines to buildtools/legacy/gcc/config.guess:
*:Darwin:*:*)
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e
's/[-_].*//'`
exit 0 ;;
Right before or after the *:FreeBSD:*:*) statement. Yes, I'm aware
this is effectively making GCC think we're building on a host
running FreeBSD, but Darwin is close enough- and it worked just fine.
Second- I had to clear out any content in buildtools/legacy/gcc/gcc/
*.texi.
This did not work for me, it still complained that it could not build
a .info file, after removing the info stuff from buildtools/legacy/
gcc/gcc/Makefile.in (see diff below) building the VMWare image works
too. Yippee! That way it is not necessary to delete the *.texi files,
BTW.
- Michael
Index: Makefile.in
===================================================================
--- Makefile.in (revision 27586)
+++ Makefile.in (working copy)
@@ -2266,7 +2266,8 @@
#
# Remake the info files.
-doc: info
+doc:
+
info: cpp.info gcc.info lang.info
cpp.info: $(srcdir)/cpp.texi
@@ -2435,7 +2436,7 @@
# Install the driver last so that the window when things are
# broken is small.
install-normal: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
- $(INSTALL_CPP) install-man install-info intl.install lang.install-
normal \
+ $(INSTALL_CPP) install-man intl.install lang.install-normal \
install-driver
- Follow-Ups:
- [haiku-development] Re: GCC 2.95.x on Mac OS X Intel (10.5.x)
- From: Keven Tipping
- References:
- [haiku-development] GCC 2.95.x on Mac OS X Intel (10.5.x)
- From: Keven Tipping
Other related posts:
- » [haiku-development] GCC 2.95.x on Mac OS X Intel (10.5.x)
- » [haiku-development] Re: GCC 2.95.x on Mac OS X Intel (10.5.x)
- » [haiku-development] Re: GCC 2.95.x on Mac OS X Intel (10.5.x)
- » [haiku-development] Re: GCC 2.95.x on Mac OS X Intel (10.5.x)
- » [haiku-development] Re: GCC 2.95.x on Mac OS X Intel (10.5.x)
- » [haiku-development] Re: GCC 2.95.x on Mac OS X Intel (10.5.x)
- » [haiku-development] Re: GCC 2.95.x on Mac OS X Intel (10.5.x)
First- add the following lines to buildtools/legacy/gcc/config.guess: *:Darwin:*:*)echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
exit 0 ;;Right before or after the *:FreeBSD:*:*) statement. Yes, I'm aware this is effectively making GCC think we're building on a host running FreeBSD, but Darwin is close enough- and it worked just fine.
Second- I had to clear out any content in buildtools/legacy/gcc/gcc/ *.texi.
- [haiku-development] Re: GCC 2.95.x on Mac OS X Intel (10.5.x)
- From: Keven Tipping
- [haiku-development] GCC 2.95.x on Mac OS X Intel (10.5.x)
- From: Keven Tipping