search for: 2009q

Displaying 3 results from an estimated 3 matches for "2009q".

Did you mean: 2009
2015 Mar 12
2
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
...y with clang/llvm. We > are using musl as a libc for our architecture. > It has a much smaller code footprint than newlib or glibc. > I successfully cross-compile the must-libc using clang, with the configuration: C=clang CFLAGS=--target=arm-none-linux-gnueabi\ --sysroot=/usr/local/arm-2009q\ -I\ /usr/local/arm-2009q3/arm-none-linux-gnueabi/libc/usr/include/ LIBCC= ./configure --target=arm But how to force clang to use musl-libc rather than its default one? I tried clang --target arm-none-linux-gnueabi -nostdlib -static hello.c ~/research/musl-1.1.6/lib/crt1.o ~/research/musl-1.1.6/...
2015 Mar 12
3
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
2015-03-12 10:49 GMT-05:00 Jonathan Roelofs <jonathan at codesourcery.com>: > You need to build a sysroot from the lib and include directories in > ~/research/musl-1.1.6 combined with the same folders from > /usr/local/arm-2009q, then use `--sysroot` instead of the `-I`s and `-L's. I copied everything from the lib in musl-1.1.6 to arm-2009q3/arm-none-linux-gnueabi/libc/usr/lib but there is still an error message: src/env/__libc_start_main.c:(.text+0x40): undefined reference to `__aeabi_memset' collect2: ld retur...
2015 Mar 11
4
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
> > FWIW, I build baremetal newlib for arm-eabi using clang, and it works. I >> had to patch a few of the __attribute__((naked)) functions because they >> were using pre-UAL asm syntax, but for the most part it "just works". >> > I build the baremetal newlib using arm-none-eabi-gcc as well, but after linking with the hello world program, it failed to run on