This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Building tests
- From: "sandeep" <sandeep at codito dot com>
- To: "Michele Portolan" <michele dot Portolan at imag dot fr>, <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 25 Aug 2003 13:01:41 +0530
- Subject: Re: [ECOS] Building tests
- References: <000601c36ad3$e58a5dc0$7b81ab93@imag.fr>
> 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