From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Use of Intel compiler on Linux |
Date: | 2003-05-31 15:56:52 |
Message-ID: | Pine.LNX.4.44.0305311738040.6382-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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(at)gmx(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-05-31 16:05:30 | Re: A few notes |
Previous Message | Peter Eisentraut | 2003-05-31 15:55:16 | Re: [HACKERS] Are we losing momentum? |