[ECOS] configtool, ecosconfig for a beginner suite ?
Andrew Lunn
andrew.lunn@ascom.ch
Mon Aug 4 12:10:00 GMT 2003
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
More information about the Ecos-discuss
mailing list