[Linux-ia64] IA64/ecc - Problems with system.h

From: Manoj Kumar Krishnan <manoj1_at_ERC.MsState.Edu>
Date: 2003-02-28 06:09:50
I'm having trouble in getting my code compiled using Intel Compilers (6.0
or 7.0) in Linux-IA64. Anyhelp would be appreaciated. Thanks!

--------------------------------------------------------------------

ecc -O -w1 -c -o shmem.o shmem.c

/usr/include/asm/system.h(74): error: asm statements not supported in this
environment
        __asm__ __volatile__ (";;" ::: "memory");
        ^

/usr/include/asm/system.h(74): error: expected a ")"
        __asm__ __volatile__ (";;" ::: "memory");
                                   ^

/usr/include/asm/system.h(260): error: asm statements not supported in
this environment
                __asm__ __volatile (IA64_SEMFIX"xchg1 %0=[%1],%2" : "=r"
(result)
                ^

/usr/include/asm/system.h(260): error: expected a ")"
                __asm__ __volatile (IA64_SEMFIX"xchg1 %0=[%1],%2" : "=r"
(result)
                                                                  ^

/usr/include/asm/system.h(265): error: asm statements not supported in
this environment
                __asm__ __volatile (IA64_SEMFIX"xchg2 %0=[%1],%2" : "=r"
(result)
                ^

/usr/include/asm/system.h(265): error: expected a ")"
                __asm__ __volatile (IA64_SEMFIX"xchg2 %0=[%1],%2" : "=r"
(result)
                                                                  ^

/usr/include/asm/system.h(270): error: asm statements not supported in
this environment
                __asm__ __volatile (IA64_SEMFIX"xchg4 %0=[%1],%2" : "=r"
(result)
                ^

/usr/include/asm/system.h(270): error: expected a ")"
                __asm__ __volatile (IA64_SEMFIX"xchg4 %0=[%1],%2" : "=r"
(result)
                                                                  ^

/usr/include/asm/system.h(275): error: asm statements not supported in
this environment
                __asm__ __volatile (IA64_SEMFIX"xchg8 %0=[%1],%2" : "=r"
(result)
                ^

/usr/include/asm/system.h(275): error: expected a ")"
                __asm__ __volatile (IA64_SEMFIX"xchg8 %0=[%1],%2" : "=r"
(result)
                                                                  ^

compilation aborted for shmem.c (code 2)

----------------------------------------------------------------------

-Manoj:)
Received on Thu Feb 27 11:10:29 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:12 EST