Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] [cfe-dev] ELLCC and musl"
2012 Jul 09
0
[LLVMdev] ELLCC and musl
ELLCC (http://ellcc.org), my clang/LLVM based cross development tool chain for
ARM, Microblaze, Mips, Power PC, and X86, now incorporates musl
(http://www.etalabs.net/musl) as its standard C library for Linux. musl is a
MIT licensed, highly POSIX compliant library offering high performance and a
small foot print. I spent several weeks evaluating musl before deciding to use
it in ELLCC. The
2012 Jun 12
1
[LLVMdev] Mips nomicromips?
Hi,
I've decided to switch from the NetBSD standard library to the musl library
(http://www.etalabs.net/musl/) for my ELLCC (http://ellcc.org) cross compiler
project. During my musl feasability study I made a Mips port of musl. A day or
two ago, just to make things interesting, I updated to the LLVM TOT (r158294).
I started getting assembler warnings about ".set nomicromips".
2013 Sep 29
0
[LLVMdev] ELLCC updated to musl 0.9.14
Hi,
I've updated the musl version of the clang/LLVM based ELLCC compiler
suite to use musl release 0.9.14.
As usual the musl guys have been doing a great job. The new release
looks great!
http://ellcc.org
I've also started to port libunwind into ELLCC. That's the last step for
a fully non-gnu run-time environment:
libcxx/libcxxabi/libunwind/musl/compiler-rt for C and C++ under
2014 Mar 27
2
[LLVMdev] using just llvm/clang for building mips llvm
Geting a seg fault. Have not investigted the cause.
rkotler at mipsswbrd002:~/richard$ tar vfxz
~/Downloads/ellcc-mips-linux-2014-Mar-24-07-32-26.tgz
rkotler at mipsswbrd002:~/richard/ellcc/bin$ gdb ./ecc
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are
2015 Dec 19
2
Bootstrapping clang/LLVM with ELLCC
ELLCC is a compilation tool chain based on clang/LLVM, libc++ and the
musl standard C library for Linux. Recently I was asked if ELLCC
pre-built binaries could be used to build clang/LLVM TOT. It turns out
that it can with some simple patches. This is a simple way to bootstrap
clang/LLVM on an arbitrary Linux system that either doesn't have GCC or
has a version of GCC that is too old to
2015 Dec 19
4
Bootstrapping clang/LLVM with ELLCC
(Fixed the cfe email address)
On 12/18/2015 09:34 PM, Tim Northover wrote:
> On 18 December 2015 at 19:15, Richard Pennington via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> It turns out that it can with some simple patches.
> This sounds really cool. I think we should seriously consider putting
> these patches into LLVM mainline.
>
>> Information on
2011 Jan 17
3
[LLVMdev] clang/LLVM cross testing environment
Hi,
I've been working on combining LLVM, clang, the NetBSD standard C
library, compiler-rt, QEMU, GDB, and GNU binutils as a cross compilation
environment. My goal is to target small embedded systems, but I think
that what I'm working on may be of interest to other LLVM/clang
developers as I have been able to use the environment to fix several
code generation issues in LLVM.
As of
2017 Aug 04
3
Cross compiling C++ program
You may also take a look at the ELLCC project (www.ellcc.org <http://www.ellcc.org/>). As far as I understand it they produce and package cross toolchains for a number of popular targets.
- Matthias
> On Aug 4, 2017, at 12:54 PM, Jonathan Roelofs via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>
>
> On 8/4/17 1:14 PM, Goran Mekić via llvm-dev wrote:
>> On
2014 Sep 30
2
[LLVMdev] Can libc++ build for arm cross compiler?
Hi cschen,
Here are the test scripts which I written when I was developing ARM
exception handling support:
https://github.com/loganchien/libcxx-scripts
The script should work on Debian wheezy (cross-compiling from amd64 to
armhf.)
In general, here are the necessary steps:
1. Get a working arm-linux-gnueabihf gcc/g++ toolchain (for the headers and
libraries)
2. Setup the include search path
2013 Dec 21
2
[LLVMdev] How do I disable --version-script when cross compiling clang/LLVM on a Mac?
Hi,
I asked this question a few days ago and didn't get any responses. I
thought I'd try again with a little more detail.
I am trying to cross compile my clang/LLVM based ELLCC cross development
tools project (http://ellcc.org) on a Mac. I am targeting ARM/Linux.
The build fails while building FileCheck (or tbl-gen or any of the other
build tools built during the
2013 Oct 18
0
[LLVMdev] ELLCC has self hosted.
The clang/LLVM based ELLCC project (http://ellcc.org), after having
reached a huge milestone ( http://ellcc.org/blog/?p=231) has now
successfully compiled itself.
The steps were:
1. Use gcc to build the compiler with Linux standard libraries.
2. Use ecc to build itself with libc++, libc++ABI, libunwind, musl, and
compiler-rt
3. Use the newly built compiler to build itself again.
One
2017 Aug 05
3
Cross compiling C++ program
On Fri, Aug 04, 2017 at 04:40:44PM -0600, Jonathan Roelofs wrote:
> Might be a helpful exercise for you to try building vanilla clang with
> runtimes for the host, before worrying about how to build everything for
> your baremetal case:
> http://llvm.org/docs/GettingStarted.html#getting-started-quickly-a-summary
So I did. :o) It was fun realizing how much Release type reduces LD
2012 Jul 21
0
[LLVMdev] The first small step to an ELLCC release.
I'm getting closer to having an actual release of my ELLCC collection of tools
to do cross compilation using my clang/LLVM based compiler and associated
support programs and libraries.
I have one set of download binaries available, for Fedora 16 x86_64 systems.
The download includes the compiler, binutils, gdb, precompiled standard
libraries and qemu support for arm, armeb, i386,
2012 Jan 08
0
[LLVMdev] Status of ELLCC
As some of you may be aware, I've been fooling around with using clang/LLVM as
a cross compilation environment. Actually "fooling around" is a little bit of
an understatement. I've been working on it in on and off for quite a while. :-)
I just wanted to give a brief update on the current status.
First, the projects goals:
* Use LLVM/clang as a cross compiler for arm, i386,
2016 Oct 28
2
Using lld in ELLCC for different targets
With all the talk about using lld on the list, I thought it would be
interesting to try using it in my clang based ELLCC cross compilation
tool chain. http://ellcc.org
The change was simple, since I use configuration files to tell clang how
to compile, where to find libraries, etc. I described the config files
here: http://ellcc.org/blog/?p=13246
All I had to do was change the linker
2016 Feb 01
1
More problems with building R on a musl platform
Here is tests/reg-tests-1c.Rout.fail -
http://pastebin.com/raw/3QVDUBwT
About the libm, I don't know which one R uses.
musl has its on libm. http://git.musl-libc.org/cgit/musl/tree/src/math
I think I also have openlibm installed, but I don't think that's used.
Any more information I can give to help debug this?
Thanks.
On Mon, Feb 1, 2016 at 3:49 PM, Martin Maechler
<maechler
2017 Aug 04
3
Cross compiling C++ program
On Thu, Aug 03, 2017 at 08:22:24AM -0600, Jonathan Roelofs wrote:
> IIUC, you don't want to cross compile llvm itself (which is what those
> instructions are for), but instead you want to *use* llvm to cross compile
> things.
>
> To build your sysroot, you'll need to cross-build:
>
> 1) A libc. Good choices for that for baremetal are: newlib or musl.
> 2)
2016 Dec 02
2
Failed to configure LLVM for use with Musl
I want to build LLVM-based toolchain with Musl, I have LLVM sources with clang and lld (under `tools` directory) and libunwind, compiler-rt, libcxx and libcxxabi (under `projects` directory). All are the latest versions cloned from GitHub mirror, branch `master`.
I'm trying to configure with the following options:
CLANG_DEFAULT_CXX_STDLIB = libc++
CLANG_DEFAULT_RTLIB = compiler-rt
2016 Feb 04
3
Fwd: [musl] strptime() question
There is incompatibility between R strptime and musl libc. I posted
about it on their mailing list, but they need more information I can't
provide, so I'm forwarding the message here in hope R developers can
help. Thanks.
---------- Forwarded message ----------
From: Rich Felker <dalias at libc.org>
Date: Thu, Feb 4, 2016 at 2:07 PM
Subject: Re: [musl] strptime() question
To: Alba
2019 Mar 25
2
Trying to create a pure LLVM toolchain on musl based distribution
Le 25/03/2019 à 14:41, Peter Smith a écrit :
> Hello David,
>
> I don't know much about the specifics of Musl, so I'm responding generally.
>
> As I understand it, clang expects to find the compiler-rt libraries
> relative to the resource directory, which you can find out the
> location of with clang --print-resource-dir . By default it is
> lib/clang/9.0.0