Changeset 84eb4edd in mainline


Ignore:
Timestamp:
2017-10-05T18:34:30Z (7 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
81b9d3e
Parents:
f4665bdc
Message:

autotool.py: For clang, improve error messages and remove check for GCC that's no longer necessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/autotool.py

    rf4665bdc r84eb4edd  
    5454PACKAGE_GCC = "preferably version 4.7.0 or newer"
    5555PACKAGE_CROSS = "use tools/toolchain.sh to build the cross-compiler toolchain"
     56PACKAGE_CLANG = "reasonably recent version of clang needs to be installed"
    5657
    5758COMPILER_FAIL = "The compiler is probably not capable to compile HelenOS."
     
    907908                        prefix = "%s-" % gnu_target
    908909                       
    909                         check_clang(path, prefix, common, "")
    910                         check_gcc(path, prefix, common, PACKAGE_GCC)
    911                         check_binutils(path, prefix, common, PACKAGE_BINUTILS)
    912                        
    913                         check_common(common, "GCC")
     910                        check_binutils(path, prefix, common, PACKAGE_CROSS)
     911                        check_clang(path, prefix, common, PACKAGE_CLANG)
     912                       
    914913                        check_common(common, "CLANG")
    915914                        common['CC'] = " ".join([common['CLANG']] + cc_args)
Note: See TracChangeset for help on using the changeset viewer.