Re: semi HEADS UP: icc support committed

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Sat, 13 Mar 2004 22:49:01 +0200
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_at_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
_at__at_ -804,10 +804,14 _at__at_
 _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_at_FreeBSD.org

Received on Sat Mar 13 2004 - 11:49:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC