Changeset 6db5d4b in mainline


Ignore:
Timestamp:
2013-05-30T23:49:03Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
533e2d7, 8876b0d, dff90fa7
Parents:
0e575cd
Message:

add highly experimental support for further clang targets

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    r0e575cd r6db5d4b  
    304304@ "gcc_cross" GNU C Compiler (cross-compiler)
    305305@ "gcc_native" GNU C Compiler (native)
    306 ! [PLATFORM=sparc64] COMPILER (choice)
    307 
    308 % Compiler
    309 @ "gcc_cross" GNU C Compiler (cross-compiler)
    310 @ "gcc_native" GNU C Compiler (native)
    311 ! [PLATFORM=arm32|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32] COMPILER (choice)
     306! [PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32] COMPILER (choice)
    312307
    313308% Compiler
     
    315310@ "gcc_native" GNU C Compiler (native)
    316311@ "clang" Clang
    317 ! [PLATFORM=abs32le] COMPILER (choice)
     312! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=sparc64] COMPILER (choice)
    318313
    319314
  • tools/autotool.py

    r0e575cd r6db5d4b  
    194194                if (config['CROSS_TARGET'] == "arm32"):
    195195                        gnu_target = "arm-linux-gnueabi"
     196                        clang_target = "arm-unknown-linux"
    196197               
    197198                if (config['CROSS_TARGET'] == "ia32"):
    198199                        gnu_target = "i686-pc-linux-gnu"
     200                        clang_target = "i386-unknown-linux"
    199201               
    200202                if (config['CROSS_TARGET'] == "mips32"):
    201203                        gnu_target = "mipsel-linux-gnu"
     204                        clang_target = "mipsel-unknown-linux"
    202205                        common['CC_ARGS'].append("-mabi=32")
    203206       
     
    210213                target = config['PLATFORM']
    211214                gnu_target = "arm-linux-gnueabi"
     215                clang_target = "arm-unknown-linux"
    212216       
    213217        if (config['PLATFORM'] == "ia32"):
     
    227231                        target = config['PLATFORM']
    228232                        gnu_target = "mipsel-linux-gnu"
     233                        clang_target = "mipsel-unknown-linux"
    229234               
    230235                if ((config['MACHINE'] == "bmalta")):
    231236                        target = "mips32eb"
    232237                        gnu_target = "mips-linux-gnu"
     238                        clang_target = "mips-unknown-linux"
    233239       
    234240        if (config['PLATFORM'] == "mips64"):
     
    239245                        target = config['PLATFORM']
    240246                        gnu_target = "mips64el-linux-gnu"
     247                        clang_target = "mips64el-unknown-linux"
    241248       
    242249        if (config['PLATFORM'] == "ppc32"):
    243250                target = config['PLATFORM']
    244251                gnu_target = "ppc-linux-gnu"
     252                clang_target = "powerpc-unknown-linux"
    245253       
    246254        if (config['PLATFORM'] == "sparc64"):
    247255                target = config['PLATFORM']
    248256                gnu_target = "sparc64-linux-gnu"
     257                clang_target = "sparc-unknown-linux"
    249258       
    250259        return (target, cc_args, gnu_target, clang_target)
Note: See TracChangeset for help on using the changeset viewer.