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]
Other format: [Raw text]

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


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