LLVM API

226 views
Skip to first unread message

Wanderlan

unread,
May 26, 2012, 9:14:15 AM5/26/12
to llvm-pascal, alexey...@gmail.com
Hello Alexey,

I will repost this in Forum.

What is your GMT? My is -3:00. What is your city?
I think we'll have differences of 7 hours or more...

I looked at his work and seems to be exactly what I wanted!
Congratulations on your engagement!
I'll give you access to SVN!

WELCOME TO TEAM!

And I will quote you in the credits of the compiler and of the site.

Since you're full of energy!
Your new Tasks:

1. Use Forum only
2. Up load LLVM_API to SVN.
3. If possible test it using FPC 2.6 and Lazarus, but D2007 is ok.
4. Compile the Hello World program using:

http://llvm.org/demo

#include <stdio.h>
int main(){
printf("Hello World\n");
}

Output Options: LLVM C++ API code.

5. See this output and redo it using your llvmAPI.pas!
6. Create a .BC and a .EXE

Have a good job!

TIA,
Wanderlan

On Sat, May 26, 2012 at 1:26 AM, Aleksey A. Naumov wrote:
Hello Wanderlan,

I'm sorry for my english.

Task done. It's not an ideal, may be some errors. I implement
all modules (optional) and two schemes of use: static and
dynamic. All options in the header of unit via precompiler
directives. It's my second convertation of C API, my C
knowledges is not an ideal too :) so it's really good to
get a little review by you.

* All original comments saved, it's useful as i think

* All original code minimized & saved too, it's useful to
quick search of convertation errors (if exists). Can be
stripped after stable version.

* Based on LLVM C API 3.1 (Release)

I wrote my own semi-automatic tool for convertation C API,
because non of known tools cannot do what i want :) I can't
public it now, may be later.

-> I'm ready for next task <-


Hello Aleksey,

Thank you for your interest in LLVM-Pascal. :)
I am currently completing a monograph to attach with the project.
Next week I resume programming.

If you want you can help creating the Pascal bindings for LLVM (LLVM
API in Pascal).
For this task there are this options:
FPC has h2pas utility,
Dr. Bobs has HeadConv
Rudi Velthius has ConvertPack http://rvelthuis.de/programs/convertpack.html

TIA,
Wanderlan

On Wed, May 23, 2012 at 10:26 PM, Aleksey A. Naumov wrote:
Hello,

First of all, i'm sorry for my primitive english, my native language
is russian. Your LLVM-Pascal project is really wonderfull idea,
Delphi/FPC communities need it.

I want to participate in it, if it possible. As I understand, you
straggle from your plans (i'm looking at Gantt diagram & sources).
I know that it's diploma's project, but it's really important :)

You have an experience in this subject. I can get some thoughtful
tasks for first time.

--
Att,

Wanderlan Santos dos Anjos
(061) (r)3345-5496; (c)9133-3804, (t)3038-1906

runaum

unread,
May 28, 2012, 4:19:16 AM5/28/12
to llvm-pascal
All is ok. Your google groups invitation founded in GMail spam folder
(lol). I send you a demo (via email),
you need last llvmAPI.pas (look at SVN) and call HelloWorldGen
procedure.

I'm sorry for quality of this demo, it's coded for speed and I use
some. You need to delete vLogs unit
from uses-list, I wrote this demo on my infrastructure, so I'm sorry
for inconveniences again. I'll try to
do a good design for my commits.

Wanderlan Santos dos Anjos

unread,
May 28, 2012, 7:36:22 AM5/28/12
to llvm-...@googlegroups.com
Hello Aleksey,

I reposted this for Sync...
 
3. For while ;) Remember that LLVM-Pascal will use RTL, FCL and LCL from FPC/Lazarus
5. Excelent! Congratulations! I will resume the coding thursday I will try to do the compiler to use this code.

When finish task 6, please write a wiki page, in English, in LLVM-Pascal site showing how to install
the complete LLVM ToolChain for Windows. 

7- If you prefer, instead that, write a Setup using Inno Setup or other free Installer, writted in Object Pascal,
for LLVM-ToolChain instalation on Windows.

TIA,
Wanderlan  
 

On Sun, May 27, 2012 at 10:56 PM, Aleksey A. Naumov <alexey...@gmail.com> wrote:
  1. No
  5. Attached (it's coded for result only)


1. I Sent an invitation to you. Did you not receive?
2. I saw, thanks.
3. Ok. Stay in D2007.
5. Please send me the Pascal program, what you did, that creates the bitcode file.
6. You need to install the LLVM Toolchain. LLVM has an assembly and others utilities, see the attached file for instructions (Figure 2).  

--
Você está recebendo esta mensagem porque se inscreveu no grupo "llvm-pascal" dos Grupos do Google.
Para postar neste grupo, envie um e-mail para llvm-...@googlegroups.com.
Para cancelar a inscrição nesse grupo, envie um e-mail para llvm-pascal...@googlegroups.com.
Para obter mais opções, visite esse grupo em http://groups.google.com/group/llvm-pascal?hl=pt-BR.

runaum

unread,
May 28, 2012, 8:30:36 AM5/28/12
to llvm-pascal
Complete LLVM toolchain includes gcc for assembly compilation. Is it
right?
I'm ready to create inno-based installer, it's a good idea for
popularize.

On 28 maio, 17:36, Wanderlan Santos dos Anjos
<wanderlan.an...@gmail.com> wrote:
> Hello Aleksey,
>
> I reposted this for Sync...
>
> 3. For while ;) Remember that LLVM-Pascal will use RTL, FCL and LCL from
> FPC/Lazarus
> 5. Excelent! Congratulations! I will resume the coding thursday I will try
> to do the compiler to use this code.
>
> When finish task 6, please write a wiki page, in English, in LLVM-Pascal
> site showing how to install
> the complete LLVM ToolChain for Windows.
>
> 7- If you prefer, instead that, write a Setup using Inno Setup or other
> free Installer, writted in Object Pascal,
> for LLVM-ToolChain instalation on Windows.
>
> TIA,
> Wanderlan
>
> On Sun, May 27, 2012 at 10:56 PM, Aleksey A. Naumov <alexey.nau...@gmail.com
>
>
>
>
>
>
>
>
>
> > wrote:
> >   1. No
> >   5. Attached (it's coded for result only)
>
> > 1. I Sent an invitation to you. Did you not receive?
> > 2. I saw, thanks.
> > 3. Ok. Stay in D2007.
> > 5. Please send me the Pascal program, what you did, that creates the
> > bitcode file.
> > 6. You need to install the LLVM Toolchain. LLVM has an assembly and others
> > utilities, see the attached file for instructions (Figure 2).
>

Wanderlan Santos dos Anjos

unread,
May 28, 2012, 8:36:53 AM5/28/12
to llvm-...@googlegroups.com
Don't include GCC itself, but the BINUTILS, as FPC does, binutils includes the assembler and the linker.

runaum

unread,
May 28, 2012, 9:20:25 AM5/28/12
to llvm-pascal

Wow! It's a new world for me. I'm far from nix-way & etc.

Wanderlan, I need one skype-chat session, it's really difficult for
me to use
mail / gg for some questions. I need fast feedback. Can you chat
with me
tomorrow? I added your skype into contacts list (i'm always
invisible).

On 28 maio, 18:36, Wanderlan Santos dos Anjos

Wanderlan Santos dos Anjos

unread,
May 28, 2012, 9:47:45 AM5/28/12
to llvm-...@googlegroups.com
I use gTalk.
I'm very busy today. Because I have to deliver the printed project today.
Reply all
Reply to author
Forward
0 new messages