Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2004 22:49:01 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        current@freebsd.org
Subject:   Re: semi HEADS UP: icc support committed
Message-ID:  <20040313204901.GA36571@ip.net.ua>
In-Reply-To: <20040313191354.68b00bc6@Magellan.Leidinger.net>
References:  <20040313123024.4e899294@Magellan.Leidinger.net> <405317BF.7020209@bis.midco.net> <20040313191354.68b00bc6@Magellan.Leidinger.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sat, Mar 13, 2004 at 07:13:54PM +0100, Alexander Leidinger wrote:
> On Sat, 13 Mar 2004 08:16:31 -0600
> Peter Schultz <pmes@bis.midco.net> wrote:
> 
> > Alexander Leidinger wrote:
> > > Note to committers: we have a commercial icc license, so we're allowed
> > > to distribute icc compiled binaries (but we're far away from being able
> > > to build an entire release with icc).
> > > 
> > 
> > Does icc build a stable world, or is that the next step?
> 
> There are still some issues. But feel free to try it, maybe you can fix
> a problem or two...
> 
> Note: at some point in the build, the newly build gcc will be used, so a
> first step would be to not use it in the CC=icc case.
> 
This should be trivial (though completely untested):

%%%
--- Makefile.inc1	Sat Mar 13 17:46:34 2004
+++ Makefile.inc1	Sat Mar 13 22:46:43 2004
@@ -804,10 +804,14 @@
 _kgzip=		usr.sbin/kgzip
 .endif
 
+.if ${TARGET_ARCH} != "i386" || ${CC:T} != "icc"
+_cc=		gnu/usr.bin/cc
+.endif
+
 cross-tools:
 .for _tool in \
     gnu/usr.bin/binutils \
-    gnu/usr.bin/cc \
+    ${_cc} \
     ${_elf2aout} \
     usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint \
     ${_btxld} \
%%%


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
ru@FreeBSD.org

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAU3O9Ukv4P6juNwoRAuzpAJsEV1CEO7RFh48COnGZjpbZQcW5gQCeNONd
tla3mVhdZOtDv5O3cnxkve8=
=0Y1a
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040313204901.GA36571>