This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with cosine and multithread...


Carlos Eduardo dos Reis Rodrigues Sobrinho wrote:
> 
> Another question is how can I build a program without debug info and all
> that .text and place it in flash so I can do a GO 0X4(where I dl the prog)
> and ran it without the gdb if that possible.
> Thanks in advance for the help.

Build it for ROM startup and program it like you would program the GDB stub
image.
 
> PS: One small question.What's the difference between cyg_thread thread_s[2];
> char stack[2][4096] AND static cyg_thread thread_s[2]; static char
> stack[2][4096]; and what does volatile do in C,Sorry for the anoying
> questions that this should be for you but they aren't for me...

"static" means whether the symbols are visible outside that compilation
unit.

But don't seek help for basic C questions like this. Buy a book, don't ask
here as this list is to do with eCos only. I won't be answering any more
simple questions like that.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]