Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] LLVM-C tutorial"
2010 Aug 31
4
[LLVMdev] LLVM-C tutorial
I am going to post my first chapter, just to see if it is acceptable.
Any feedback is good feedback for me.
Filip
On 31 Aug 2010, at 17:25, Rajika Kumarasiri wrote:
> Most of the documents (html) are generated using rst2html. So I think a patch to the rst file in llvm/tools/llvmc/doc should be fine.
>
> Rajika
>
> On Mon, Aug 30, 2010 at 7:59 PM, F van der Meeren
2010 Aug 31
0
[LLVMdev] LLVM-C tutorial
Most of the documents (html) are generated using rst2html. So I think a
patch to the rst file in llvm/tools/llvmc/doc should be fine.
Rajika
On Mon, Aug 30, 2010 at 7:59 PM, F van der Meeren <llvm-dev at code2develop.com
> wrote:
> As I have stated before, I am creating a LLVM-C tutorial.
> Now I expect it to be in a final draft form within 2~3 weeks, but how do I
> have to
2010 Sep 01
0
[LLVMdev] LLVM-C tutorial
I think it'd be nice to have a ToC describing what you plan to cover in the
"hello world" tutorial. I'll take a look at the tutorial in the week end and
send feed back.
Rajika
On Wed, Sep 1, 2010 at 2:02 AM, F van der Meeren
<llvm-dev at code2develop.com>wrote:
> I am going to post my first chapter, just to see if it is acceptable.
> Any feedback is good feedback
2010 Sep 01
0
[LLVMdev] LLVM-C tutorial
That was all I needed to hear :-)
Because I am already at "chapter 3", which is regular expressions in C, but then made so that each regex becomes a real and true function.
And doubt suddenly struck. What if my style isn't exactly what the LLVM community wants...
On 01 Sep 2010, at 15:09, nessim wrote:
> hey Filip,
>
> I'm afraid i can't give you technical
2010 Sep 13
3
[LLVMdev] Emit C
I am still having some trouble finding my way in the C++ files.
Could you give me a clearer direction?
Filip
On 13 Sep 2010, at 18:39, Charles Davis wrote:
> On 9/13/10 10:32 AM, F van der Meeren wrote:
>> Hello,
>>
>> I am trying to emit C code from the module I just created. And this from LLVM-C.
>> If someone could give me a pointer on how to do this in llvm (with
2010 Sep 13
0
[LLVMdev] Emit C
On Sep 13, 2010, at 10:40 AM, F van der Meeren wrote:
> I am still having some trouble finding my way in the C++ files.
> Could you give me a clearer direction?
If you have llvm IR then you can use 'llc' to generate c code. Try
$ llc <input_llvm_ir> -march=c -o /tmp/output.c
This C backend is implemented in llvm/lib/Target/CBackend
-
Devang
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
On Thu, Aug 12, 2010 at 6:56 PM, Romain Pechayre <rpechayr at gmail.com> wrote:
> Ok. Thank you for your input. New questions :) :
> - Is the dev package basically the source code of gcc 4.2 ? Isn't it
> already fully included in llvm-gcc code base ?
>
AFAIR, you need to have the set of headers, gcc-dev.( Some one else may
provide you with this information)
> - How
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
I need to add, also you'll need bison+flex.
Rajika
On Thu, Aug 12, 2010 at 6:41 PM, Rajika Kumarasiri <rajika at wso2.com> wrote:
> You'll need to install the dev packages for gcc 4.2.
>
> Rajika
>
> On Thu, Aug 12, 2010 at 1:27 PM, Romain Pechayre <rpechayr at gmail.com>wrote:
>
>> Hello all,
>>
>> I am trying to build the latest version
2010 Jul 06
2
[LLVMdev] LLVM-C headers: create native library
Hi,
Is it possible to create a .dll / .so / .dylib by only using the LLVM-C headers ?
If so, I cannot find it.
Filip
2010 Aug 12
0
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
Thanks. It worked for a few more compilation lines.
I now get the following linker error:
undefined reference to llvm::MemoryBuffer::getNewMemBuffer(unsigned long,
llvm::StringRef)
I am surprised since the linker compile line already links with a whole
bunch of llvm libraries ...
Thanks for your help
Romain
On Thu, Aug 12, 2010 at 4:03 PM, Rajika Kumarasiri <rajika at wso2.com> wrote:
2010 Aug 12
1
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
I got this one fixed by rebuilding llvm Debug (oups). I had an old version.
I now seem to have a classical message:
version GLIBCXX_3.4.14 not found.
I am indeed building llvm-gcc using gcc4.5. Is this the problem ? The fix to
this problem indicated in README.LLVM does not help ..
Thanks
Romain
On Thu, Aug 12, 2010 at 6:43 PM, Romain Pechayre <rpechayr at gmail.com> wrote:
> Thanks.
2008 Jul 06
3
[LLVMdev] [PATCH] patch to compile llvm-gcc using nightly tester script(NewNightlyTester.pl)
hello every body.
Here with I have attached the patch which compile the llvm-gcc using nightly
tester script. This patch add the following capabilities to the
NewNightlyTester.pl script.
1. Checkout the llvm-gcc4.2 source from the SVN.
2. Compile the checkout llvm-gcc4.2 source tree.
3. Gather the configure/make out put informations.
4. Add the (3) informations to the %hash_of_data hash to be
2010 Aug 12
0
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
Ok. Thank you for your input. New questions :) :
- Is the dev package basically the source code of gcc 4.2 ? Isn't it already
fully included in llvm-gcc code base ?
- How should I include bison+flex when I have installed Do I need to put
additional flags to configure script ?
Cheers,
Romain
On Thu, Aug 12, 2010 at 3:13 PM, Rajika Kumarasiri <rajika at wso2.com> wrote:
> I need to
2008 Jul 07
0
[LLVMdev] [PATCH] patch to compile llvm-gcc using nightly tester script(NewNightlyTester.pl)
hello everybody,
I have added few improvements to my patch. Please review the new patch
directly.
Thanks!
-Rajika
On Sun, Jul 6, 2008 at 9:17 PM, Rajika Kumarasiri <rajikacc at gmail.com>
wrote:
> hello every body.
>
> Here with I have attached the patch which compile the llvm-gcc using
> nightly tester script. This patch add the following capabilities to the
>
2008 May 22
2
[LLVMdev] Latest SVN head (gcc front end) build failed
hi all,
I was trying to build the latest LLVM gcc front end and it failed.
rajika@:~/project/llvm/dst-directory$ svn info | grep URL
URL: http://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk
configure option: ../dst-directory/configure --prefix=/usr/local/
--enable-llvm=/home/rajika/project/llvm/llvm-objects
it gave me the following errors
../../dst-directory/gcc/llvm-convert.cpp:1163: error:
2009 Apr 18
1
[LLVMdev] build failure in llvm revision69440
hi,
I am getting following compilation error while compiling llvm. I installed
the missing libs. using my package manager (and there are in /usr/loca/lib
path). Any clue to fix the problem. Thanks!
/home/rajika/projects/llvm/llvm-objects/Debug/bin/tblgen: error while
loading shared libraries: libffi.so.4: cannot open shared object file: No
such file or directory
make[1]: ***
2008 Jul 07
2
[LLVMdev] [PATCH] patch to compile llvm-gcc using nightly tester script(NewNightlyTester.pl)
On Mon, Jul 7, 2008 at 11:10 AM, Rajika Kumarasiri <rajikacc at gmail.com> wrote:
> hello everybody,
>
> I have added few improvements to my patch. Please review the new patch
> directly.
> Thanks!
>
Hi Rajika,
A few stylistic comments. I'll let others comment on the algorithm for now:
if ($VERBOSE) {
print "( time -p $SVNCMD/llvm/trunk llvm; cd
2009 Apr 05
2
[LLVMdev] How the LLVM Compiler Infrastructure Works
FYI,
http://www.informit.com/articles/article.aspx?p=1215438
-Rajika
--
http://wso2.org/
http://llvm.org/
http://www.osdev.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090405/79ddb769/attachment.html>
2008 Jul 07
1
[LLVMdev] [PATCH] patch to compile llvm-gcc using nightly tester script(NewNightlyTester.pl)
Thanks :-)
One last thing. It seems like the patch has a lot of whitespace
changes. Could you create the diff with the -b option?
-bw
On Mon, Jul 7, 2008 at 11:49 AM, Rajika Kumarasiri <rajikacc at gmail.com> wrote:
> hi Bill,
> Thanks for the comments. I'll update the patch according to that.
>
> -Rajika
>
> On Mon, Jul 7, 2008 at 11:56 PM, Bill Wendling
2008 Jul 07
0
[LLVMdev] [PATCH] patch to compile llvm-gcc using nightly tester script(NewNightlyTester.pl)
hi Bill,
Thanks for the comments. I'll update the patch according to that.
-Rajika
On Mon, Jul 7, 2008 at 11:56 PM, Bill Wendling <isanbard at gmail.com> wrote:
> On Mon, Jul 7, 2008 at 11:10 AM, Rajika Kumarasiri <rajikacc at gmail.com>
> wrote:
> > hello everybody,
> >
> > I have added few improvements to my patch. Please review the new patch
> >