This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: eCos arm-eabi GNU tools - test release 4.6.2-20120125
On Fri, 24 Feb 2012, Grant Edwards wrote:
> On 2012-02-24, Sergei Gavrikov <sergei.gavrikov@gmail.com> wrote:
> > On Fri, 24 Feb 2012, Grant Edwards wrote:
> >
> >> On 2012-02-24, Sergei Gavrikov wrote:
> >>
> >> > Grant, did you try *arm-eabi* toolchain for your target before?
> >> > Of course, if this is possible. I mean stable arm-eabi (4.3.2)
> >> > toolchain from eCosCentric? May be you missed that CFLAGS
> >> > clean-up step on 4.3.2 migration?
> >>
> >> No I hadn't tried the older arm-eabi toolchain and wasn't aware of
> >> any manual CFLGAGS changes that needed to be made. I assumed that
> >> the CDL from CVS HEAD would use the right CFLAGS.
> >
> > Is there CYGBLD_GLOBAL_WARNFLAGS in yours?
>
> Yes:
>
> $ grep -A 4 CYGBLD_GLOBAL_WARNFLAGS */ecos.ecc
> ecos-build-eabi/ecos.ecc:cdl_option CYGBLD_GLOBAL_WARNFLAGS {
> ecos-build-eabi/ecos.ecc- # Calculated value: "-Wall -Wpointer-arith -Wstrict-prototypes -Wundef -Woverloaded-virtual -Wno-write-strings "
> ecos-build-eabi/ecos.ecc- # Flavor: data
> ecos-build-eabi/ecos.ecc- # Current_value: -Wall -Wpointer-arith -Wstrict-prototypes -Wundef -Woverloaded-virtual -Wno-write-strings
> ecos-build-eabi/ecos.ecc-};
> --
> ecos-build/ecos.ecc:cdl_option CYGBLD_GLOBAL_WARNFLAGS {
> ecos-build/ecos.ecc- # Calculated value: "-Wall -Wpointer-arith -Wstrict-prototypes -Wundef -Woverloaded-virtual -Wno-write-strings "
> ecos-build/ecos.ecc- # Flavor: data
> ecos-build/ecos.ecc- # Current_value: -Wall -Wpointer-arith -Wstrict-prototypes -Wundef -Woverloaded-virtual -Wno-write-strings
> ecos-build/ecos.ecc-};
>
> The latter of the two is the ecos-ecc when building with 3.2.1 arm-elf
> toolchain.
The output does not mean that eCos global CFLGAGS for your *arm-elf*
target contain CYGBLD_GLOBAL_WARNFLAGS as a part of CFLAGS, mine
cdl_option CYGBLD_GLOBAL_CFLAGS {
...
# Default value: CYGBLD_GLOBAL_WARNFLAGS . CYGBLD_ARCH_CFLAGS .
...
the output does mean that CYGBLD_GLOBAL_WARNFLAGS option in your CDL
(and I know there is it in ecos.ecc :-) I think your CFLAGS has not such
a concatenation.
> > I mean this commit
> > http://hg-pub.ecoscentric.com/ecos/rev/00813b25dec2 and the next
> > Bart's commits from 2009/02/03 to 2009/02/03.
>
> Yes. I'm using eCos source code I fetched from CVS HEAD a couple
> weeks ago.
>
> > Is there -Wno-write-strings in your CFLAGS?
>
> No.
Bad news for old sources are processed by newest compilers. Could you
please show your ecos.mak? To comparison mine (NXP ARM7TDMI)
% grep CFLAGS /tmp/t/install/include/pkgconf/ecos.mak
ECOS_GLOBAL_CFLAGS = -Wall -Wpointer-arith -Wstrict-prototypes -Wundef -Woverloaded-virtual -Wno-write-strings -mno-thumb-interwork -mcpu=arm7tdmi -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions
I think that -Wno-write-strings from CYGBLD_GLOBAL_WARNFLAGS (it is a
really part of CYGBLD_GLOBAL_CFLAGS for *arm-eabi* targets in eCos CVS)
does fulfill main "clean-up" job for any old sources and for BSD
sources as well.
> > Well, what is your target?
>
> Various custom boards that have a Sammsung ARM7TDMI.
I will look on the same targets.
Sergei
> --
> Grant Edwards grant.b.edwards Yow! I appoint you
> at ambassador to Fantasy
> gmail.com Island!!!
>
>
> --
> 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