Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2005 12:50:52 +0200
From:      Ulrich Spoerlein <spoerlein@informatik.uni-wuerzburg.de>
To:        current@freebsd.org
Subject:   bsd.cpu.mk confusion
Message-ID:  <20050629105052.GC1091@galgenberg.net>

next in thread | raw e-mail | index | archive | help

--f2QGlHpHGjS2mn6Y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

I tried to use the /usr/share/mk stuff (works great!) but it fell over
when I switched to icc.

Here's a minimal Makefile

CPUTYPE=3Dpentium-m
CC=3D     icc
=2Einclude <bsd.prog.mk>
=2Einclude <bsd.cpu.mk>

Then
% make -V CFLAGS
-O2 -fno-strict-aliasing -pipe -march=3Dpentium-m  -tpp6 -xiMK

Only problem is, icc doesn't recognize -march. I can't figure out, why I
get this assignment. Running make with debugging output couldn't
enlight me either.

So, what am I doing wrong?

Ulrich Spoerlein
--=20
 PGP Key ID: F0DB9F44				Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?

--f2QGlHpHGjS2mn6Y
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCwn0MmArGtfDbn0QRApL7AKCQyLwPetoDf1FevgY8AElV8U5VdwCfbmRs
nFk1wJmW1DW2Yvw5RvISSqg=
=a2jh
-----END PGP SIGNATURE-----

--f2QGlHpHGjS2mn6Y--



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