This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem with cosine and multithread...
- To: Carlos Eduardo dos Reis Rodrigues Sobrinho <epilog at netc dot pt>
- Subject: Re: [ECOS] Problem with cosine and multithread...
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 01 Mar 2001 18:06:13 +0000
- Cc: eCos Discuss <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <001301c0a21a$37269a20$09bd12d4@netc.pt>
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