Re: [PLUG] [OT] Problem with gcc

2007-08-24 Thread ಓಂ
I think.. your [OT] tag is correct and Hope there is no relation of this program solving matrix programmatically and the Matrix - the movie! Hey ... No Neo... No Kung Fu! :-) Incidentally **Matrix** also means something else related to human anatomy... and with Labour Day and Shrikrishna Jayanti

Re: [PLUG] [OT] Problem with gcc

2007-08-24 Thread (अमेय) Ameya ( पाळंदे) Palande
> Message: 1 > Date: Thu, 23 Aug 2007 23:50:13 +0530 > From: "Aneesh Mulye" <[EMAIL PROTECTED]> > Subject: [PLUG] [OT] Problem with gcc > To: "Pune GNU/Linux Users Group Mailing List" > Message-ID: > <[EMAIL PROTECTED]> > Content-

Re: [PLUG] [OT] Problem with gcc

2007-08-23 Thread Aneesh Mulye
>On 24/08/07, Shakthi Kannan <[EMAIL PROTECTED]> wrote: OK. Here's the complete output of gcc -v gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --lib

Re: [PLUG] [OT] Problem with gcc

2007-08-23 Thread Shakthi Kannan
Hi, --- Aneesh Mulye <[EMAIL PROTECTED]> wrote: > For some reason, the following code doesn't work: How do we know: 1. Which distro you are using? 2. Which gcc you have tested it with? 3. How did you compile it? Please give as much info as possible when asking a question. I used: gcc foo.c -

[PLUG] [OT] Problem with gcc

2007-08-23 Thread Aneesh Mulye
For some reason, the following code doesn't work: #include #include #include /* float determinant(float *a, int n) {{{1 */ float determinant(float *a, int n) { float *b, det=0; if(n<2) return 0; if(n==2) det=( (*a)*(*(a+3)) - (*(a+1))*(*(a+2))); else {