This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: configtool, ecosconfig for a beginner suite ?
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Matthieu dot GIRARDIN at fr dot thalesgroup dot com
- Cc: sandeep at codito dot com, ecos-discuss at sources dot redhat dot com
- Date: Mon, 4 Aug 2003 14:10:47 +0200
- Subject: Re: [ECOS] configtool, ecosconfig for a beginner suite ?
- References: <D96E2AFA0DF3D211B13900902745494805DC2A30@HELIOS>
On Mon, Aug 04, 2003 at 02:07:22PM +0200, Matthieu.GIRARDIN@fr.thalesgroup.com wrote:
> >> This should be powerpc-eabi for using powerpc-eabi-gcc
> >> You might have to adjust 'Global compiler flags' and 'Global linker
> flags' to
> >> suit powerpc-eabi-gcc.
>
> I saw where it is in my .ecc !
> Ok but how to set it with ecosconfig ?
> I know where are compiler flags under configtool but not under ecosconfig
I think a more interesting question is "Why is this wrong?".
The answer may be that you are using a directory that already has an
intel build in it. If thats true, you are going to get more
problems. Start in a clean directory.
To answer you question anyway, the ecos.ecc file will have a statement
something like this (take from an arm tree):
# >
# Global command prefix
# This option specifies the command prefix used when
# invoking the build tools.
#
cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
# Flavor: data
# No user value, uncomment the following line to provide one.
# user_value arm-elf
# value_source default
# Default value: arm-elf
};
Simply uncomment the user_value line and set it to what you need.
Then do
ecosconfig tree
and the work tree will be updated to use the different tool chain.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss