This is the mail archive of the 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: Will gcc3.3 will work with eCos?.

We have been using arm-elf-gcc-3.3.1 for some time and it works fine - if
we disable some features like eCos filesystem support.
The problem I think was some StdioStream subclass (stdout) that was used
before it was fully constructed (init priority problem possibly?).
Best Regards,
Fredrik Hederstierna

radhakrishnan R wrote:

> 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
> --
> Before posting, please read the FAQ:
> and search the list archive:

Before posting, please read the FAQ:
and search the list archive:

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