Hi,

--- On Thu, Sep 27, 2012 at 3:25 PM, Umesh Kalappa
<[email protected]> wrote:
| About SIGILL  signal,
| According to wiki.
\--

Please refer to the POSIX standards. SIGILL is for an "illegal instruction".

  http://pubs.opengroup.org/onlinepubs/009696699/basedefs/signal.h.html

---
| When we try to compile and run  the  code on X OS i.e
|
| $ ./a.out
| .
| ..
| arc
| Illegal instruction: 4
\--

You haven't mentioned the compiler you used, how you compiled your
code, and which options you passed to the compiler.

Your code runs fine on Fedora 16 (x86_64) using gcc 4.6.3 compiled using:

  $ gcc test.c -o test

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to