[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: intel compiler not finding (system) header files



michael wrote:
(more at end)

-------- Original Message --------
Subject: intel compiler not finding (system) header files
Resent-Date: Mon, 22 Nov 2004 10:56:32 -0600 (CST)
Resent-From: debian-user@lists.debian.org
Date: Mon, 22 Nov 2004 16:55:49 +0000
From: michael <linux@networkingnewsletter.org.uk>
To: debian-user@lists.debian.org

Folks, on my Debian dual-Xeon box, I have tried to install the Intel
C/C++ compiler (ifc). I have followed Intel's instructions in "Platform
Notes: Using Intel C++ Compiler on Unsupported Operating Systems". (This
was essentially using 'alien' to convert rpm->deb, then dpkg and then
sed INSTALLDIR to the name of the actual install directory for all .sh
scripts)

However, when I try to compile code that has usual C++ headers in (eg
"#include <iostream>") it fails to find them.

I presume it's not looking in the default system libraries...

Ideas?

Thanks, Michael
(tried to search past postings but keep getting timed out when
attempting to access lists.debian.org)


NEW: note that I can compile code with such #include if I use g++ (therefore it's a prob to do with icc?)



Not sure if this is relevant but:
michael@ratty:~/src/l_cc_p_8.1.021$ /lib/libc.so.6;ls -lt /lib/libc.so.6;ls -lt /lib/libc-2.3.2.so
bash: /lib/libc.so.6: Permission denied
lrwxrwxrwx  1 root root 13 2004-11-11 18:34 /lib/libc.so.6 -> libc-2.3.2.so
-rw-r--r--  1 root root 1244080 2004-10-13 20:40 /lib/libc-2.3.2.so

(whereas a working icc, albeit on a RedHat box, gives:
 /lib/libc.so.6;ls -lt /lib/libc.so.6;ls -lt /lib/libc-2.3.2.so
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).
Compiled on a Linux 2.4.20 system on 2003-11-12.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.10 by Xavier Leroy
        The C stubs add-on version 2.1.2.
        BIND-8.2.3-T5B
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        Glibc-2.0 compatibility add-on by Cristian Gafton
        libthread_db work sponsored by Alpha Processor Inc
Thread-local storage support included.
Report bugs using the `glibcbug' script to <bugs@gnu.org>.
lrwxrwxrwx 1 root root 13 Nov 17 2003 /lib/libc.so.6 -> libc-2.3.2.so*
-rwxr-xr-x    1 root     root      1561228 Nov 13  2003 /lib/libc-2.3.2.so*


	



Reply to: