Removal of ICC (intel compiler) bits from mk
David Schultz
das at FreeBSD.ORG
Tue Apr 26 16:04:49 UTC 2011
On Wed, Aug 18, 2010, Rui Paulo wrote:
> Hi,
> I've been chatting with the ICC ex-users and they seem to be ok with the removal of the ICC bits from share/mk and other places.
> The reason is that it doesn't work and no one has volunteered to fix it for many years. This seems to indicate that the interest in ICC is low.
> If there's anyone against this, speak now or forever be silent. :-)
For what it's worth, I still occasionally use icc for simple
tasks-- mainly as a reference for code generation, since it
produces reasonable output in many cases where gcc does not.
As I recall, making it work required minimal changes... possibly
just making sure __va_list gets defined in _types.h. I have
the following in one of my trees, although this is obviously
not the right fix.
Index: _types.h
===================================================================
--- _types.h (revision 219357)
+++ _types.h (working copy)
@@ -105,7 +105,7 @@
*/
#ifdef __GNUCLIKE_BUILTIN_VARARGS
typedef __builtin_va_list __va_list; /* internally known to gcc */
-#elif defined(lint)
+#else
typedef char * __va_list; /* pretend */
#endif
#if defined(__GNUC_VA_LIST_COMPATIBILITY) && !defined(__GNUC_VA_LIST) \
More information about the freebsd-current
mailing list