This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: cross reference tool
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Robert Brusa <bob dot brusa at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 4 Nov 2008 22:42:58 +0100
- Subject: Re: [ECOS] cross reference tool
- References: <op.uj33zahokeg3uf@localhost>
On Tue, Nov 04, 2008 at 09:46:16PM +0100, Robert Brusa wrote:
> Hi
> I am working on a project where I use the constant M_TWOPI defined in
> math.h. Despite an #import <math.h> statement at the beginning of my
> source, gcc flags M_TWOPI as unknown. Strange enough, other stuff from
> math e. g. trigonometric functions are there. I feel I have a mess with
> all these imports. Is there a cross reference tool available that
> analyzes a project and tells one which term is defined where and where it
> is used. I should add that I am writing my eCOS-app using Eclipse
> 3.3.2/CDT 4.03. Thanks for help.
Compile the one file this is causing your problems with -E -dD and
then look at the resulting output file.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss