Date: 31 Mar 2002 03:44:18 +0200 From: Nick Hilliard <nick-lists@netability.ie> To: tlambert2@mindspring.com Cc: hackers@freebsd.org, ports@freebsd.org Subject: Re: lang/icc doesn't compile c++ sources Message-ID: <1017539059.24927.1.camel@flapjack.netability.ie>
next in thread | raw e-mail | index | archive | help
> --- bad Sat Mar 30 05:18:02 2002
> +++ good Sat Mar 30 05:18:23 2002
> @@ -1 +1,2 @@
> -echo '#include<iostream>' > comp.cc
> +echo '#include <iostream>' > comp.cc
> +echo 'main() {}' >> comp.cc
glibness aside, this doesn't work either:
flapjack:/home/nick> echo '#include <iostream>' > comp.cc
flapjack:/home/nick> echo 'main() {}' >> comp.cc
flapjack:/home/nick> icc comp.cc
comp.cc:
"/usr/include/stdlib.h", line 57: error: invalid combination of type specifiers
typedef _BSD_WCHAR_T_ wchar_t;
[piles more warnings chopped
This, of course, indicates nothing more than that the linux_devtools
package hasn't been installed: a simple "pkg_add -r linux_devtools"
appears to fix the problem. The devtools package should be included on
the port dependency list to fix it properly.
Also, the intel folks don't seem to understand csh syntax very well,
according to the last line of compiler50/ia32/bin/iccvars.csh, which
states:
> setenv INTEL_FLEXLM_LICENSE=<INSTALLDIR>/licenses
Oops - that should have been caught by QA. Unfortunately, this file is
modified by pre-patch:, which means that a simple patch won't do the
trick if people decide to install the port in a different location.
Hmmm.
I've mailed gnats about both of these problems, and have included
suggested fixes for each.
Nick
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1017539059.24927.1.camel>
