Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Compile a linux kernel with LLVM?"
2005 Jul 07
0
[LLVMdev] Compile a linux kernel with LLVM?
ymxia at nudt.edu.cn wrote:
> Hi,
>
> I want to check some properties of linux kernel with llvm, but I don't know how to compile a
>
> linux kernel to an llvm's .bc file. I have let llvm's gcc front-end ignore inline assembly by
>
> modifying cfrontend/src/gcc/llvm-expand.c, and replace CC/as/ar in the Makefile of the kernel
>
> with
2005 Mar 01
3
[LLVMdev] question about gccld and external libraries
hi,
I'm really new to llvm. I've successfully bootstrapped llvm-14 on my
system and am able to successfully compile c code to llvm.
the problem is now that gccld is complaining that it can't find the
libraries, like "c" or "crtend". [1]
all is fine, if I just use intrinsified functions like printf and
friends, but I want to use the clock_gettime function and
2005 Jun 28
3
[LLVMdev] LLVM 1.5 C Front-End Binaries for FreeBSD?
Might anyone have a FreeBSD binary or suggested modifications to the
source to compile one?
Thanks,
Sean
2005 Jul 25
2
Re: [LLVMdev] Compile a linux kernel with LLVM?
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?
Thanks.
2004 Oct 05
5
[LLVMdev] Starting with LLVM-GCC on Cygwin
Hi,
I would like to use LLVM-GCC to compare its performance with other compilers.
Something like testsuite "Computing very large Fibonacci numbers" at
http://article.gmane.org/gmane.comp.lang.c%2B%2B.perfometer/37.
My environment:
-----------------
Windows 2000
Cygwin
$ uname -srom
CYGWIN_NT-5.0 1.5.11(0.116/4/2) i686 Cygwin
-----------------
What do I have to download from
2004 Nov 02
5
[LLVMdev] LLVM tools sufficient to build the cfrontend for windows from MinGW?
Hi,
I'm able to build the llvm tools on the MinGW platform: burg, fpcmp, tblgen,
llvm-as, llvm-dis, opt, gccas, llc, llvm-link, lli, gccld, llvm-stub,
analyze and extract.
I wonder if these tools are sufficient to start build the cfrontend?
Henrik.
_________________________________________________________________
Undg� pop-ups med MSN Toolbar - http://toolbar.msn.dk hent den gratis!
2004 Sep 10
2
[LLVMdev] POST MORTEM: llvm-test changes
On Thu, 9 Sep 2004 20:16:37 -0700
Jeff Cohen <jeffc at jolt-lang.org> wrote:
> On Thu, 9 Sep 2004 08:52:10 -0700
> Jeff Cohen <jeffc at jolt-lang.org> wrote:
>
> > > I haven't got around to this yet but I will. The odds are good the
> > > problem is in a BSD system header file so I need to capture the
> > > preprocessed source.
> >
>
2004 Dec 28
3
[LLVMdev] Re: Starting with LLVM-GCC on Cygwin
"John Criswell" <criswell at cs.uiuc.edu> wrote in message news:4162A940.8090307 at cs.uiuc.edu...
> Alex Vinokur wrote:
> > Hi,
> >
> > I would like to use LLVM-GCC to compare its performance with other compilers.
> > Something like testsuite "Computing very large Fibonacci numbers" at
> >
2005 Jun 13
2
[LLVMdev] problem compiling the cfrontend on Linux/PPC
On Mon, Jun 13, 2005 at 11:02:10AM -0500, John Criswell wrote:
> Cyrille Mescam wrote:
> >Hi,
> >
> >
> >When compiling the cfrontend for Linux/PPC architecture on a powermac
> >G5, i got
> >the following error :
>
> I hate to ask a silly question, but are you using "make bootstrap" to
> build the cfrontend? Your output looks like gccas
2005 May 25
5
[LLVMdev] LLVM Cygwin Run Errors
Hi,
I installed the cfrontend 1.5 and LLVM 1.5 from source in cygwin
successfully using GCC3.4.3 and binutils2.15 (as in makefiles do not
complain errors except some warnings).
However when I do this, there are some errors like,
***************************************************************
u0201201 at 9nnvf2ay /home/cfrontend/install/lib
$ llvm-ranlib libiberty.a
llvm-ranlib: Error opening
2004 May 03
3
[LLVMdev] Plea for help
Sorry to disturb you all, but I simply cannot get
the linearscan allocator to work. I have upgraded
llvm to mainline cvs. Everything works until I get
to llc -regalloc=linearscan or lli -regalloc=linearscan.
I have installed it on redhat 9 and on Fedora Core
distributions (I even took it as far as to format a new
partition and install Fedora core all over). I have submitted
the bytecode that
2004 Oct 05
0
[LLVMdev] Starting with LLVM-GCC on Cygwin
Alex Vinokur wrote:
> Hi,
>
> I would like to use LLVM-GCC to compare its performance with other compilers.
> Something like testsuite "Computing very large Fibonacci numbers" at
> http://article.gmane.org/gmane.comp.lang.c%2B%2B.perfometer/37.
>
>
> My environment:
> -----------------
> Windows 2000
> Cygwin
> $ uname -srom
> CYGWIN_NT-5.0
2005 Jun 13
2
[LLVMdev] problem compiling the cfrontend on Linux/PPC
> Okay, I took a closer look at your output.
>
> I was correct in that gccas is attempting to assemble a native PPC
> assembly language file. However, this appears to be happening because
> the assembly file is generated by the GCC Makefiles for libgcc2 (in
> llvm-gcc/gcc/config/rs6000/t-ppccomm, I think).
>
> The first thing I would try is Marco's suggestion: add
2004 Aug 19
4
[LLVMdev] Can't get llvmg++ to work
I'm another new person to LLVM. I can't successfully compile and
execute a simple C++ program. The compiler seems to work, as it
produces a.out and a.out.bc files, but I get a whole bunch of warnings:
WARNING: Found global types that are not compatible:
"struct.std::messages<wchar_t>"* %_ZN9__gnu_cxx10messages_cE
[16 x sbyte]*
2005 May 25
0
[LLVMdev] LLVM Cygwin Run Errors
> I installed the cfrontend 1.5 and LLVM 1.5 from source in cygwin
> successfully using GCC3.4.3 and binutils2.15 (as in makefiles do not
> complain errors except some warnings).
>
> However when I do this, there are some errors like,
>
> ***************************************************************
> u0201201 at 9nnvf2ay /home/cfrontend/install/lib
> $ llvm-ranlib
2004 Apr 01
1
[LLVMdev] Makefile.config
Hi John,
I have attached my Makefile.config.
I noticed that I did'nt have SRC_ROOT and OBJ_ROOT variables
defined as such in my environment. But I noticed that this is defined in
the Makefile.config by default to the same values.
All the same, I tried defining both these variables in my .cshrc, but I
still get the same error.
The main directory for me is /home/llvm, and I have
2004 Aug 19
0
[LLVMdev] Can't get llvmg++ to work
On Wed, 2004-08-18 at 22:14, Jeff Cohen wrote:
> I'm another new person to LLVM.
Hi Jeff. Welcome.
> I can't successfully compile and
> execute a simple C++ program. The compiler seems to work, as it
> produces a.out and a.out.bc files, but I get a whole bunch of warnings:
>
> WARNING: Found global types that are not compatible:
>
2005 Jul 25
0
[LLVMdev] Compile a linux kernel with LLVM?
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.
>
2006 Aug 15
2
[LLVMdev] llvm-gcc4 on Debian
I know that Al Stone has compiled llvm-gcc4 successfully and I can
report the same. The problem I consistently run into is that llvm-gcc
ends up producing native format output; it does not produce bytecode,
nor does it invoke gccas or gccld.
I'm using the latest svn, and my configure args are:
--prefix=/work/scottm/llvm-cfrontend/obj/../i686-pc-linux-gnu \
2006 Aug 21
1
[LLVMdev] stdlib.h
Thank you, Reid,
I tried llvm-gcc -lcrtend ary3.c -o ary3, but I get
gccld: warning: Cannot find library 'crtend'
gccld: warning: Cannot find library 'c'
I have the libraries in my llvm directory:
llvm/runtime/GCCLibraries/crtend
Well, how do I link this to the LLVM runtime stuff? Before building from
the source, I had copied all the .h from my old gcc 4.0 to