Use of Intel compiler on Linux

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Use of Intel compiler on Linux
Дата
Msg-id Pine.LNX.4.44.0305311738040.6382-100000@peter.localdomain
обсуждение исходный текст
Ответы Re: Use of Intel compiler on Linux
Список 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) /*************************************************************************  *
Allthe 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Postgres config file: autocommit = off
Следующее
От: Tom Lane
Дата:
Сообщение: Re: A few notes