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: The next Cygwon toolchain build problem


On 2009-01-06, Jonathan Larmour <jifl@eCosCentric.com> wrote:
>> On 2009-01-06, Jonathan Larmour <jifl@eCosCentric.com> wrote:
>>>
>>>> Is it safe to simply delete -finit-priority from the CFLAGS
>>>> value that the eCos config/build produced?
>>>
>>> Yes.
>> 
>> Is it safe to also delete it when using 3.2.1, or is it needed
>> with the 3.2.1 but not with 3.4.3?
>
> It's only needed for GCC prior to 2.95 in fact!

Yow, _that's_ old.

I doubt anybody else cares, but I've spent most of the past two
days trying various combinations of Cygwin and gcc to see what
can build 3.2.1.  Here's what I've got so far:

     Cygwin     Host GCC    Builds 3.2.1?
   
      Current     3.4.4           No
      Current     3.3.3           No   
   ? Jan 2007     3.4.4           No
   6 May 2005     3.3.3          Yes

Adding to that the fact that you can build 3.2.1 on Linux using
GCC 3.4.6, I conclude that it's not gcc 3.4.4 that's at fault.
It's the fault of something else in Cygwin that got updated
between May05 and Jan07.

I've built eCos and apps on Linux using arm-elf-gcc 3.4.3, and
that seems to work fine (after I disabled strict aliasing for
the GoAhead web server).  arm-elf-gcc 3.4.3 also builds OK on a
current Cygwin system, though I haven't done any builds using
arm-elf-gcc 3.4.3 on Cygwin yet.

So it looks like the best option is to use gcc-arm-elf 3.4.3.

-- 
Grant Edwards                   grante             Yow! hubub, hubub, HUBUB,
                                  at               hubub, hubub, hubub, HUBUB,
                               visi.com            hubub, hubub, hubub.


-- 
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]