Discussion:
[Wt-interest] Force building widget library with Intel C++ compiler on Linux
Marius
2015-08-09 18:18:23 UTC
Permalink
Hi,

I built Wt with the free Intel C++ compiler (for Linux) with success.

These are the flags / variables for ICC which work for me for now.

export CC="icc"
export CXX="icpc"
export CFLAGS="-march=native -O3 -no-prec-div -fno-alias -pipe"
export CXXFLAGS="${CFLAGS}"
export LDFLAGS="-Wl,-O1,--sort-common,--as-needed"
export AR="xiar"
export LD="xild"


I run cmake from a build dir:

** Enabling built-in httpd.
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
*** Not building widget gallery; C++11 required (gcc > 4.6 + set
WT_CPP_11_MODE=-std=c++0x or MSVS >= 2012)

Is there a force flag somewhere to emit the compiler checks?

Best,
Marius
Wim Dumon
2015-08-10 08:52:01 UTC
Permalink
Hmm, apparently we did not think about that :)

If WT_CPP_11_MODE is not empty, the cmake script will assume C++11. So set
WT_CPP_11_MODE to "-O3" and widget gallery should be built...

Wim.
Post by Marius
Hi,
I built Wt with the free Intel C++ compiler (for Linux) with success.
These are the flags / variables for ICC which work for me for now.
export CC="icc"
export CXX="icpc"
export CFLAGS="-march=native -O3 -no-prec-div -fno-alias -pipe"
export CXXFLAGS="${CFLAGS}"
export LDFLAGS="-Wl,-O1,--sort-common,--as-needed"
export AR="xiar"
export LD="xild"
** Enabling built-in httpd.
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
*** Not building widget gallery; C++11 required (gcc > 4.6 + set
WT_CPP_11_MODE=-std=c++0x or MSVS >= 2012)
Is there a force flag somewhere to emit the compiler checks?
Best,
Marius
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
https://lists.sourceforge.net/lists/listinfo/witty-interest
Continue reading on narkive:
Search results for '[Wt-interest] Force building widget library with Intel C++ compiler on Linux' (Questions and Answers)
3
replies
What is Linux?
started 2007-06-21 07:43:04 UTC
software
Loading...