problem with large arrays

2005-07-06 Thread apaz
Could you please tell me how can I work with large arrays in C/Objective-C. My compiler (gcc) can not handle, for example, the following array a[15][150][9][197], which is not too big. If I reduce the size to a[15][150][9][19], for example, it works ok. I had prepared a small example to show the

problem with "libobjects" and gcc-4.0.0

2005-07-06 Thread apaz
I'm getting the following message when I try to install "libobjects": The GCC 'nested functions' feature does not seem to be working on this machine. I'm working under Linux(i686) on an AMD athlon and with gcc-3.4.3. Also, I'm having problems installing gcc-4.0.0. I'm getting the following m

Re: problem with "libobjects" and gcc-4.0.0

2005-07-06 Thread apaz
No really, I'm just trying to compile Objective C code. But when I use -libobjc, I get: /usr/bin/ld: cannot find -libobjc collect2: ld returned 1 exit status I thought that "libobjc" was included in gcc. So, I found the following link that says that -libobjc is the Objective C class library . .

Re: problem with "libobjects" and gcc-4.0.0

2005-07-06 Thread apaz
Quoting Andrew Pinski <[EMAIL PROTECTED]>: > > On Jul 7, 2005, at 12:57 AM, [EMAIL PROTECTED] wrote: > > > > > No really, I'm just trying to compile Objective C code. But when I use > > -libobjc, > > I get: > > > > /usr/bin/ld: cannot find -libobjc > > collect2: ld returned 1 exit status > > >

Re: problem with "libobjects" and gcc-4.0.0

2005-07-07 Thread apaz
Quoting Andrew Pinski <[EMAIL PROTECTED]>: > > On Jul 7, 2005, at 1:04 AM, [EMAIL PROTECTED] wrote: > > > [EMAIL PROTECTED] read_input]# gcc main.m read_input.m -lobjc -lm > > /usr/bin/ld: warning: type and size of dynamic symbol > > `__objc_class_name_Object' > > are not defined > > /usr/local

Re: problem with "libobjects" and gcc-4.0.0

2005-07-07 Thread apaz
Quoting Andrew Pinski <[EMAIL PROTECTED]>: > > On Jul 7, 2005, at 1:04 AM, [EMAIL PROTECTED] wrote: > > > [EMAIL PROTECTED] read_input]# gcc main.m read_input.m -lobjc -lm > > /usr/bin/ld: warning: type and size of dynamic symbol > > `__objc_class_name_Object' > > are not defined > > /usr/local

Re: problem with large arrays

2005-07-10 Thread apaz
Quoting Peter Teuben <[EMAIL PROTECTED]>: > On Thu, 7 Jul 2005 [EMAIL PROTECTED] wrote: > > > > > Well, I need to work with large arrays that must be share by several > classes. I > > new into C/Objective-C. I'm a Fortran programmer. THere, I used to work > with > > dynamic allocation of memory.