CT_TARGET
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Sat Oct 9 06:44:00 GMT 2010
On Saturday 09 October 2010 06:08:23 Samson Luk wrote:
>
> Yann, All,
>
> Since I have:
>
> CT_PREFIX_DIR="/opt/x-tools/${CT_TARGET}"
>
> Do I have to maintain / set this evironment variable at all time (by
> setup inside .bashrc) during 'ct-ng build' or I only need it during
> 'ct-ng menuconfig' ?
I do not understand the question. :-/
After your toolchain was installed, you have to possibilities to use it:
- always use the full path when calling the tools, eg.:
/opt/x-tools/TARGET/bin/TARGET-gcc
- put the toolchain's bin directory in you PATH variable, and just call
the cross-tools:
export PATH="${PATH}:/opt/x-tools/TARGET/bin"
TARGET-gcc
(Replace TARGET by the tuple of your target.)
Of course you may want to put the "export PATH" in you login scripts, such
as .bashrc .
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list