This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Will gcc3.3 will work with eCos?.
- From: Satish Kumar <satishkumar at sanyo dot co dot in>
- To: 'radhakrishnan R' <radhaamanji at yahoo dot co dot uk>, ecos-discuss at sources dot redhat dot com
- Cc: skg at cradle dot com, gary at mlbassoc dot com
- Date: Fri, 9 Jan 2004 11:59:26 +0530
- Subject: RE: [ECOS] Will gcc3.3 will work with eCos?.
well, i have found gcc 3.2.1 to be stable with ecos v 2.0.
yes, gcc 3.3 does have some problems while compiling any application.
-----Original Message-----
From: radhakrishnan R [mailto:radhaamanji@yahoo.co.uk]
Sent: Friday, January 09, 2004 11:32 AM
To: ecos-discuss@sources.redhat.com
Cc: skg@cradle.com; gary@mlbassoc.com
Subject: [ECOS] Will gcc3.3 will work with eCos?.
Iam presently trying to use the gcc3.3 with eCos.
Have any one have tried to use gcc3.3 with the latest
eCos??.
I have also read in the mailing list, that
"-finit-priority" is not available in gcc3.3. I hope
this will result global constructor calling sequence
to go wrong.
Is there any workaround for this?.
What is the recommented gnu tools to work for
eCos1.3.1/eCos2.0 ?.
After building eCos program i.e any sample with
gcc3.3, i have observed the following behaviour in the
eCos startup program.
i) There is a call to cyg_hal_invoke_constructors
from Vectors.S.
ii) This is the Global constructors call. The first
constructor function called is Cyg_StdioStream()
available in stdout.cxx.
iii) This function fails(i.e Trying to find a file
in mountable, not available...), hence the eCos halts
on file error.
Is this constructor "Cyg_StdioStream()" is a
expected one?.
It looks like constructors function call in eCos is
getting changed with new tools. The reason for this is
due to removal of compiler flag "-finit-priority",
which is responsible for ordering the constructor
call??.
Regards,
Radhakrishnan R
________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss