Changeset 69dc065 in mainline for kernel/arch/ia32/Makefile.inc


Ignore:
Timestamp:
2009-09-17T22:42:56Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c1618ed
Parents:
82cf692
Message:

initial Clang support

this is more like a proof-of-concept (tested with Clang and LLVM 2.6-pre1)

  • it is limited to ia32/amd64, but it will probably fail except compiling ia32 target on ia32 host
  • actually only Clang as compiler is used, native binutils are used for standalone assembler files and linking
  • kernel compiles fine, boots and even prints some scrambled initial messages to the framebuffer, but panics soon after that (it might be just a tiny glitch in output functions)
  • uspace compiles mostly fine, but the linking fails
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/Makefile.inc

    r82cf692 r69dc065  
    4343ICC_CFLAGS += $(CMN1)
    4444SUNCC_CFLAGS += $(CMN1)
     45CLANG_CFLAGS += $(CMN1)
    4546
    4647## Accepted CPUs
     
    7172GCC_CFLAGS += $(CMN2)
    7273ICC_CFLAGS += $(CMN2)
     74CLANG_CFLAGS += $(CMN2)
    7375
    7476ARCH_SOURCES = \
Note: See TracChangeset for help on using the changeset viewer.