This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [CT-NG:patch 04/19] Update check for need of g++


Remy, Bart, All,

On Friday 09 April 2010 21:04:23 Remy Bohmer wrote:
> g++ is only needed when building additonal libs on the HOST,
> so check wheter g++ is available for the HOST compiler only
> 
> Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
> ---
>  scripts/crosstool-NG.sh.in |    6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> Index: crosstool-ng/scripts/crosstool-NG.sh.in
> ===================================================================
> --- crosstool-ng.orig/scripts/crosstool-NG.sh.in
> +++ crosstool-ng/scripts/crosstool-NG.sh.in
> @@ -416,11 +416,15 @@ if [ -z "${CT_RESTART}" ]; then
>              else
>                  case "${tool}" in
>                      # We'll at least need some of them...
> -                    ar|as|gcc|g++|ld|nm|objcopy|objdump|ranlib)
> +                    ar|as|gcc|ld|nm|objcopy|objdump|ranlib)
>                          CT_Abort "Missing: '${t}${tool}${!s}' or '${t}${tool}' or '${tool}' : either needed!"
>                          ;;
>                      # Some are conditionnally required
>                      # Add them in alphabetical (C locale) ordering
> +		    #g++ (needed for companion lib), only needed for HOST
> +		    g++)
> +			CT_TestAndAbort "Missing: '${t}${tool}${!s}' or '${t}${tool}' or '${tool}' : either needed!" "${m}" = "HOST"
> +			;;

Space-damage: use spaces, not tabs.

Looks good otherwise.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]