semi HEADS UP: icc support committed

Ruslan Ermilov ru at freebsd.org
Sat Mar 13 12:49:12 PST 2004


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
@@ -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 at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040313/9789a058/attachment.bin


More information about the freebsd-current mailing list