@B use '--gcc 6' to select the gcc-6-branch

This commit is contained in:
bebbo
2016-12-16 23:59:26 +01:00
parent 16321edc4c
commit a82fbf676a
+2 -2
View File
@@ -366,7 +366,7 @@ def build():
CXX = ' '.join([CXX, ARCH, '-std=gnu++11'])
"""
Older gcc compilers (i.e. 2.95.3, 3.4.6 and 6.2.0) and binutils have to be tricked
Older gcc compilers (i.e. 2.95.3, 3.4.6 and 6) and binutils have to be tricked
into thinking that they're being compiled on Linux IA-32 machine. Theirs
config.guess script knows nothing about x86-64 or darwin.
"""
@@ -664,7 +664,7 @@ if __name__ == "__main__":
help='action arguments')
parser.add_argument('--binutils', choices=['2.9.1', '2.14'], default='2.9.1',
help='desired binutils version')
parser.add_argument('--gcc', choices=['2.95.3', '3.4.6', '6.2.0'], default='2.95.3',
parser.add_argument('--gcc', choices=['2.95.3', '3.4.6', '6'], default='2.95.3',
help='desired gcc version')
parser.add_argument('--prefix', type=str, default=None,
help='installation directory')