Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
1 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 1

more...

Browsing this Thread:   1 Anonymous Users



(1) 2 3 4 ... 6 »


Bounty for LLVM port, Phase 1

Joined:
2006/7/29 4:11
Group:
Member
Posts: 3929
Offline
I made the initial donation of 500$ for this bounty.

Get the LLVM code generator to generate code according to the x86 ABI for AROS. It must work under currently supported OSs, such as Linux x86 as a cross-compiler.

http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine
www.llvm.org

Phase II targeting AROS x64
will follow.

Also in the pipeline is this bounty:
Bounty for Hardware-Agnostic AROS Code Generator, Phase 1:

Get LLVM to generate static libraries under x86 and x86-64 flavors of AROS and rewrite the headers to use late-bindings rather than direct values. This will allow all hardware-specific code to be linked and statically compiled at install time to a hardware-specific runtime such that the bitcode files will be untainted by hardware-specific code.

My personal interest is to expand the possibilites for developers and making the first steps to make a easy transition to AROS 64..... (Or Broadway 64 for in my case )

At the end i hope we will get AROS 32 sandboxed running in AROS64... utilizing PNaCL (Google Native Client....)

The developer who whill give it a try will get more donations... i just wait with donations because the money would otherwise lay dead on p2p.

Best Regards,
Pascal


Just to play around
http://llvm.org/demo/
(they have a cat too)


One note:
This may not look so fancy for normal users but also Apple included it in Xcode...

Posted on: 2010/9/24 12:13

Edited by phoenixkonsole on 2010/9/24 12:31:10
_________________
www.aeros-os.org AEROS for Raspberry Pi
www.aros-broadway.de Native AROS for i386 and m68k
www.indiego-Gaming.com indieGO! The AppStore for all amigans
www.ares-shop.eu
Transfer the post to other applications Transfer


Re: Bounty for LLVM port, Phase 1

Joined:
2005/9/3 1:24
From Colorado, USA
Group:
Member
Posts: 752
Offline
The first and second bounties look good.

I've looked into PNaCl lately and extracting the code necessary to make an AROS sandbox will not be possible for a while. The PNaCl project, like the NaCl project in general, is still in the early development stages. We'll have to wait and see about how to incorporate LLVM into the third bounty. It may prove to be more practical to port the headers first to make a source-level wrapper and then worry about the sandbox later.

Posted on: 2010/9/24 12:49
Transfer the post to other applications Transfer


Re: Bounty for LLVM port, Phase 1

Joined:
2006/7/29 4:11
Group:
Member
Posts: 3929
Offline
Sure... "later" is the right word..
LLVM alone is worthy..
The interesting part is that LLVM can also translate any supported language into another...

Step by step... if i'm correct even heiku has no LLVM yet ; )

Posted on: 2010/9/24 12:53
_________________
www.aeros-os.org AEROS for Raspberry Pi
www.aros-broadway.de Native AROS for i386 and m68k
www.indiego-Gaming.com indieGO! The AppStore for all amigans
www.ares-shop.eu
Transfer the post to other applications Transfer


Re: Bounty for LLVM port, Phase 1

Joined:
2005/9/3 1:24
From Colorado, USA
Group:
Member
Posts: 752
Offline
Haiku was having trouble getting code recompiled for the latest GCC runtimes, last I knew. :-/

Posted on: 2010/9/24 12:59
Transfer the post to other applications Transfer


Re: Bounty for LLVM port, Phase 1

Joined:
2006/7/29 4:11
Group:
Member
Posts: 3929
Offline
this -> :-/ implies that if Heiku guys had this trouble we will it have too.

Posted on: 2010/9/24 13:02
_________________
www.aeros-os.org AEROS for Raspberry Pi
www.aros-broadway.de Native AROS for i386 and m68k
www.indiego-Gaming.com indieGO! The AppStore for all amigans
www.ares-shop.eu
Transfer the post to other applications Transfer


Re: Bounty for LLVM port, Phase 1

Joined:
2005/9/3 1:24
From Colorado, USA
Group:
Member
Posts: 752
Offline
The trouble won't be until we get to the third bounty. I think for the first two we will be okay. And as for the GCC runtimes, AROS already uses some up-to-date ones.

Posted on: 2010/9/24 13:05
Transfer the post to other applications Transfer


Re: Bounty for LLVM port, Phase 1

Joined:
2006/7/29 4:11
Group:
Member
Posts: 3929
Offline
Click to see original Image in a new window
excellent!

Posted on: 2010/9/24 13:07
_________________
www.aeros-os.org AEROS for Raspberry Pi
www.aros-broadway.de Native AROS for i386 and m68k
www.indiego-Gaming.com indieGO! The AppStore for all amigans
www.ares-shop.eu
Transfer the post to other applications Transfer


Re: Bounty for LLVM port, Phase 1

Joined:
2005/9/3 1:24
From Colorado, USA
Group:
Member
Posts: 752
Offline
Quote:

phoenixkonsole wrote:
The interesting part is that LLVM can also translate any supported language into another...


Ummm... No. It has backends to export to C and C++. Those are the only two high-level language backends. They don't work perfectly either. A person can use a non-standard variable type such as a 17-bit integer and the C backend won't know what to do with it.

It can, however, accept source from a number of different programming languages into a common bitcode file format. This will get us Haskell and OCaml. Once the port is done and tested with the PNaCl sandbox backend it will be able to generate portable bitcode files and upon download, translate those bitcode files into native code (in .NEXE format, most likely, assuming we keep the NaCl infrastructure).

Posted on: 2010/9/24 16:34
Transfer the post to other applications Transfer


Re: Bounty for LLVM port, Phase 1

Joined:
2008/1/7 12:41
From Poland
Group:
Dev
Posts: 2917
Offline
Quote:

phoenixkonsole wrote:

Get LLVM to generate static libraries under x86 and x86-64 flavors of AROS and rewrite the headers to use late-bindings rather than direct values.


This will have to be done in a way not to break the main way of doing things (architecture dependant GCC compiling)

Posted on: 2010/9/24 23:40
_________________
Krzysztof

"There is no such thing as software for free. If it is not the user who covers the cost of software creation with money, it is the developer who covers this cost with his own free time."

www.aros3d.org
www.twitter.com/ddeadwood
Transfer the post to other applications Transfer


Re: Bounty for LLVM port, Phase 1

Joined:
2008/1/7 12:41
From Poland
Group:
Dev
Posts: 2917
Offline
Quote:

SamuraiCrow wrote:
The trouble won't be until we get to the third bounty. I think for the first two we will be okay. And as for the GCC runtimes, AROS already uses some up-to-date ones.


I'm compiling AROS with 4.4 and 4.3, however there are problem emerging due to optiomizations included recently in GCC. The safest version I saw was 4.2.

Posted on: 2010/9/24 23:41
_________________
Krzysztof

"There is no such thing as software for free. If it is not the user who covers the cost of software creation with money, it is the developer who covers this cost with his own free time."

www.aros3d.org
www.twitter.com/ddeadwood
Transfer the post to other applications Transfer



(1) 2 3 4 ... 6 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4434
2 magorium
magorium
4095
3 nikolaos
nikolaos
4026
4 phoenixkonsole
phoenixkonsole
3929
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2796
7 mazze
mazze
2221
8 clusteruk
clusteruk
2112
9 damocles
damocles
1789
10 BSzili
BSzili
1513
© 2004-2018 AROS Exec