Use of Intel compiler on Linux
Use of Intel compiler on Linux
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
A German computer magazine (c't 7/2003) tested the Intel C/C++ compiler suite on Linux. Among the open-source projects they tried, PostgreSQL and KDE were the only ones they couldn't get to compile at all. I tried it out and made two simple changes (see below) to be able to compile it. If no one objects, I'll apply them. diff -cr ../cvs-pgsql/src/include/storage/s_lock.h ./src/include/storage/s_lock.h *** ../cvs-pgsql/src/include/storage/s_lock.h Tue Apr 22 12:06:25 2003 --- ./src/include/storage/s_lock.h Wed May 28 20:33:31 2003 *************** *** 76,82 **** #if defined(HAS_TEST_AND_SET) ! #if defined(__GNUC__) /************************************************************************* * All the gcc inlines */ --- 76,82 ---- #if defined(HAS_TEST_AND_SET) ! #if defined(__GNUC__) || defined(__ICC) /************************************************************************* * All the gcc inlines */ diff -cr ../cvs-pgsql/src/makefiles/Makefile.linux ./src/makefiles/Makefile.linux *** ../cvs-pgsql/src/makefiles/Makefile.linux Fri May 23 17:14:30 2003 --- ./src/makefiles/Makefile.linux Wed May 28 20:44:32 2003 *************** *** 1,5 **** AROPT = crs ! export_dynamic = -export-dynamic rpath = -Wl,-rpath,$(libdir) shlib_symbolic = -Wl,-Bsymbolic allow_nonpic_in_shlib = yes --- 1,5 ---- AROPT = crs ! export_dynamic = -Wl,-E rpath = -Wl,-rpath,$(libdir) shlib_symbolic = -Wl,-Bsymbolic allow_nonpic_in_shlib = yes -- Peter Eisentraut peter_e@gmx.net
Re: Use of Intel compiler on Linux
От:
Robert Treat <xzilla@users.sourceforge.net>
Дата:
If they have a letter to the editor or web forum, it might be worth posting the change there in case others reading the article want to try the compile. Robert Treat On Sat, 2003-05-31 at 11:56, Peter Eisentraut wrote: > A German computer magazine (c't 7/2003) tested the Intel C/C++ compiler > suite on Linux. Among the open-source projects they tried, PostgreSQL and > KDE were the only ones they couldn't get to compile at all. > > I tried it out and made two simple changes (see below) to be able to > compile it. If no one objects, I'll apply them. >