Building Tools - you legend
Angelo Fraietta
angelo_f at bigpond.com
Wed Feb 26 00:07:39 UTC 2003
You legend. That was it. Thanks
Eric Norum wrote:
> Angelo Fraietta wrote:
>
>> I commenced building the tools, however, I have come into an error
>>
>> I first had to make a soft link to binutils and gcc before moving to
>> the build, otherwise the configure did not work EG with gcc
>>
>>
>> Configure, build and install the cross-compiler and libraries
>>
>> 1. Create a directory in which the tools will be built and change
>> to that directory.
>>
>> rm -rf build
>> mkdir build
>> ln -s gcc-3.2.1 gcc
>> cd build
>>
>> 2. Configure the compiler and libraries.
>>
>> ../\gcc/configure --target=i386-rtems --prefix=/opt/rtems \
>> --with-gnu-as --with-gnu-ld --with-newlib --verbose \
>> --with-system-zlib --disable-nls \
>> --enable-version-specific-runtime-libs \
>> --enable-threads=rtems \
>> --enable-languages=c,c++
>>
>>
>>
>> The binutils worked fine, however, this was not the case with gcc.
>>
>> During the build I got the following error
>>
>
>
> I think you started into the tutorial one step too far down and missed:
>
> Add the directory containing the tools to your shell search path
> =================================================================
> The following sections assume that the directory into which you will
> install the cross-development tools (/opt/rtems/bin) is on your shell
> search path. For shells like sh, bash, zsh and ksh you can to this with
>
> PATH="$PATH:/opt/rtems/bin"
>
> For shells like csh and tcsh you can
>
> set path = ( $path /opt/rtems/bin )
>
>
--
Angelo Fraietta
PO Box 859
Hamilton NSW 2303
Home Page
http://www.users.bigpond.com/angelo_f/
There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
Bernard of Clairvaux (1090 - 1153)
More information about the users
mailing list