Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.
My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
Index: rbclient.pl =================================================================== --- rbclient.pl (revision 29020) +++ rbclient.pl (arbetskopia) @@ -536,19 +536,19 @@ sub testsystem { # check compilers - %which = ( - "arm", "arm-elf-gcc", - "arm-eabi-gcc444", "arm-elf-eabi-gcc", - "sh", "sh-elf-gcc", - "m68k", "m68k-elf-gcc", - "mipsel", "mipsel-elf-gcc", - "sdl", "sdl-config" + %compilers = ( + "arm", ["arm-elf-gcc", "4.0.3"], + "arm-eabi-gcc444", ["arm-elf-eabi-gcc", "4.4.4"], + "sh", ["sh-elf-gcc", "4.0.3"], + "m68k", ["m68k-elf-gcc", "3.4.6"], + "mipsel", ["mipsel-elf-gcc", "4.1.2"], + "sdl", ["sdl-config", ".*"], # That's what my system has, dunno if we should specialcase here ); for (split ',', $archlist) { - my $p = `which $which{$_}`; - if (not $p =~ m|^/|) { - tprint "You specified arch $_ but don't have $which{$_} in your path!\n"; + my $p = `$compilers{$_}[0] --version`; + if (not $p =~ /$compilers{$_}[1]/) { + tprint "You specified arch $_ but don't have (the correct version ($compilers{$_}[1]) of) $compilers{$_}[0] in your path!\n"; exit 22; } } |