[LLVMdev] Compile a linux kernel with LLVM?
John Criswell
criswell at cs.uiuc.edu
Mon Jul 25 09:45:10 PDT 2005
ymxia at nudt.edu.cn wrote:
> When I compiled a linux kernel, gccas was used to compile assembly code.
>
> But gccas cannot recognize the line comment character "#" of gnu assembler,
>
> and abort the compile with reporting a error "syntax error, unexpected $undefined".
>
> I watch llvm/tools/gccas, but donot known how to add this function in it.
>
> Would you give me some suggestions?
This is occuring because you're trying to use gccas to compile a native
code assembly file (most likely, an i386 assembly language file).
You either need to not to compile this file or write an LLVM equivalent
of it.
-- John T.
>
> Thanks.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
--
John T. Criswell
Research Programmer
University of Illinois at Urbana-Champaign
"It's today!" said Piglet. "My favorite day," said Pooh.
More information about the llvm-dev
mailing list