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]

R: Building tests


Thanks,
I've edited my *.ecc and i am rebuilding eCos and tests (I don't know if it
works yet. my amd500 is a quite put to test by this). You said that I could
change it with configtool: how? I got version 2.11 for cygwin ad i didn't
find it: in build->options
it shows "ldflags" but, apart from the fact that "--fatal-warnings" is not
there, it is read-only.

Michele Portolan

----- Original Message -----
From: sandeep <sandeep@codito.com>
To: Michele Portolan <michele.Portolan@imag.fr>;
<ecos-discuss@sources.redhat.com>
Sent: Monday, August 25, 2003 9:31 AM
Subject: Re: [ECOS] Building tests


>
> > I am trying to build eCso tests for Leon, but (after a good deal of
> > compiltation) I get the following error message:
> >
> > /opt/rtems/sparc-rtems/bin/ld: unrecognized option `--fatal-warnings'
> >
sparc-rtems-gcc -msoft-float -g -nostdlib -Wl,-static -Wl,--fatal-warnings -
> > L/ecos-d/cygnus/leonecos/default_install/lib -Ttarget.ld -o
> > /ecos-d/cygnus/leonecos/default_install/tests/infra/v2_0/tests/cxxsupp
> > tests/cxxsupp.o
> > /opt/rtems/sparc-rtems/bin/ld: use the --help option for usage
information
> >
> > What is it? In configtool, Build->options there is no trece of the
> > '--fatal-warnings'. Where does it comes from? Normal compilation works
> > correctly and I get the "examples" running well, it is just tests that
raise
> > that error.
>
> "fatal-warnings" comes from LDFLAGS in generated makefile for infra folder
under
> your build-tree. as evident from error message, your ld doesn't support
this
> flag ("ld --help" will confirm it)
>
> you can --
> - update LDFLAGS there in that makefile and proceed with current
build-tree
> - or make updation in your ecc file (used to generate buildtree) as shown
below
> and regenerate the tree and proceed as you did earlier
>
> cdl_option CYGPKG_INFRA_LDFLAGS_ADD {
>     # Flavor: data
>     # No user value, uncomment the following line to provide one.
>     user_value ""
>     # value_source user
>     # Default value: -Wl,--fatal-warnings
> };
>
> - or get the effect of previous step via Configtool
>
> --
> sandeep
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003
>


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