[vbox-dev] wrong gcc check on virtualbox 5.1 BETA2

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Thu Jun 9 09:12:38 GMT 2016


Hi, code says:

-o \( $cc_maj -eq 5 -a $cc_min -gt 3 \) \

log_failure "gcc version $cc_maj.$cc_min found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<10, gcc 5.x with x<10 or gcc 6.x with x<2"


failure log:
Checking for gcc:
** gcc version 5.4 found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<10, gcc 5.x with x<10 or gcc 6.x with x<2!


maybe if you want to allow every gcc-5, you can change it to
-o \( $cc_maj -eq 5 -a $cc_min -gt 9 \) \

or change the log error message :)

There should be no need to license this trivial change, but MIT as usual is fine by me.

G.



More information about the vbox-dev mailing list