[haiku-development] Re: GCC 2.95.x on Mac OS X Intel (10.5.x)


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


Other related posts: