Unaligned access error

1999-04-11 Thread Dan Jue
This message is output to the screen after my void function ends and before main regains control. Unaligned access pid=22768 p5.x va=0x11a1a pc=0x3ff80199120 ra=0x3ff800d4544 inst=0xa622fff8 Can anyone clue me in on what is going on in general? (ie layman's terms for Unaligned Access)

Re: array filling problem

1999-04-11 Thread Hossein S. Zadeh
On Sat, 10 Apr 1999, Dan Jue wrote: The above creates a matrix of [4][4]; that is, each dimension varies from [0] to [3]. a[0][3] is the last element of the first row; a[0][4] is infact the first element of the second row which is better represented by a[1][0]. Are we allowed to

Re: array filling problem

1999-04-11 Thread Glynn Clements
Dan Jue wrote: int main () { const dim = 5; float a[dim-1][dim-1]; The above creates a matrix of [4][4]; that is, each dimension varies from [0] to [3]. a[0][3] is the last element of the first row; a[0][4] is infact the first element of the second row which is better

compiling

1999-04-11 Thread Darius Blaszijk
Recently I came across a package witch I want to use in my programs. The package consists of a header file (interface) and a *.c source code file (implementation). How can I use these files in my application? If I try to compile my application the compiler gives me this message: undefined

Re: compiling

1999-04-11 Thread James
On Sun, 11 Apr 1999, Darius Blaszijk wrote: # Recently I came across a package witch I want to use in my programs. The # package consists of a header file (interface) and a *.c source code file # (implementation). How can I use these files in my application? If I try # to compile my application

Re: compiling

1999-04-11 Thread Brett Thompson
Hello! On Sun, 11 Apr 1999, Darius Blaszijk wrote: Recently I came across a package witch I want to use in my programs. The package consists of a header file (interface) and a *.c source code file (implementation). How can I use these files in my application? What you'll want to do probably

Re: compiling

1999-04-11 Thread Brett Thompson
Hello again! :) Okay, well, I thought I was going to go back to my homework and forget about this, but of course I had to look up how to make a static library for our friend Darius here :) All right, what you want to do is compile each .c that you want in the library into an object file, .o