diff --git a/ChangeLog b/ChangeLog index 971855f75..f7632993f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,10 @@ 2003-01-25 Jochen Eisinger * sanei/sanei_pa4s2.c: added some #ifdefs to make it compile with - the Intel C++ Compiler (icc). The icc cannot expand assembler - inline macros (at least not with -ip) + the Intel C++ Compiler (icc). * backend/mustek_pp.c: fixed some character encoding issues in debug messages + * README.linux: added a note about the Intel C++ Compiler 2003-01-24 Jochen Eisinger diff --git a/README.linux b/README.linux index c508f81ae..6646a43a1 100644 --- a/README.linux +++ b/README.linux @@ -85,3 +85,17 @@ Excessive warnings "pointer of type `void *' used in arithmetic": If you use DEC cc on Linux Alpha, you may need to set LDFLAGS="-N" to be able to build sane-backends. + +The Intel C++ Compiler for IA32 and IA64 isn't supported yet. If you want + to try nevertheless, you will experience undefined references to inb + and outb functions. To avoid those replace #include with + + #if defined(__ICC) && __ICC >= 700 + # define __GNUC__ 2 + #endif + #include + #if defined(__ICC) && __ICC >= 700 + # undef __GNUC__ + #elif defined(__ICC) && defined(HAVE_ASM_IO_H) + # include + #endif