This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

Re: eCos and GCC 4.1.0


Go to the "ecos" directory (where the packages is located).

and do:

cvs -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos diff -u packages >
packages.01.diff

You then get all modifications in the packages.01.diff

----- Original Message ----- From: "Marco Aurélio da Cruz" <marco@daruma.com.br>
To: <ecos-discuss@sourceware.org>
Sent: Monday, March 27, 2006 5:21 PM
Subject: Re: [ECOS] eCos and GCC 4.1.0



I've read some messages about doing this but I'm not aware how to...

I edited my local /packages/kernel/current/include files, changed the
/packages/kernel/current/ChangLog but I'm not able to generate the diff
file. I'm so newbie with CVS and patches...

Marco

Andrew Lunn wrote:
On Fri, Mar 24, 2006 at 03:33:37PM -0300, Marco Aur?lio da Cruz wrote:

Hi.
I've downloaded the ecos-trunk-20060319 snapshot from eCoscentric and
tried to compile it on arm-elf-gcc 4.1.0.

I got the errors below:

.../include/cyg/kernel/sched.hxx:181: error: extra qualification
'Cyg_Scheduler::' on member 'thread_entry'
.../include/cyg/kernel/thread.hxx:315: error: extra qualification
'Cyg_Thread::' on member 'reinitialize'

I edited the files in /packages/kernel/current/include and removed the
qualifiers. So it compiled OK.

sched.hxx

from:
/// perform thread startup housekeeping/
void Cyg_Scheduler::thread_entry( Cyg_Thread *thread );

to:
/// perform thread startup housekeeping/
void thread_entry( Cyg_Thread *thread );


thread.hxx


from:
/// Re-initialize the thread back to it's initial state./
void Cyg_Thread::reinitialize();

to:
/// Re-initialize the thread back to it's initial state./
void reinitialize();


Regards


Marco Cruz


Please could you produce a proper patch, with ChangeLog entries.


        Thanks
                Andrew





-- Marco Aurélio da Cruz

Depto. de Automação
Divisão de Tecnologia
Daruma Urmet S.A.
Tel.: +55 12 3609-5105
Fax:  +55 12 3609-5156
Web:  http://www.daruma.com.br


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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