search for: sourcery_g

Displaying 14 results from an estimated 14 matches for "sourcery_g".

Did you mean: sourcery
2009 Jul 03
1
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
...stall-xl/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm --prefix=/home/neel/xllvm/install-xl/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2 --program-prefix=llvm- --target=arm-none-linux-gnueabi --with-cpu=cortex-a8 --with-gnu-as=/home/neel/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-as --with-gnu-ld=/home/neel/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ld --with-sysroot=/home/neel/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5646) (LLVM build) /home/...
2012 Jul 18
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
...libraries/includes/etc for the target you're building. > > If you have CodeSourcery's GCC, use that (via --sysroot or > -ccc-gcc-name I said earlier), it's by far the easiest way. emitrax at xartimequad:~/programming$ which arm-none-linux-gnueabi-g++ /home/emitrax/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ emitrax at xartimequad:~/programming$ find /home/emitrax/CodeSourcery/Sourcery_G++_Lite/ -name libc /home/emitrax/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc $ clang++ -ccc-host-triple thumbv7m-none-gnueabi testReference.cpp -c --sysroot=/home/e...
2012 Jul 18
2
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 18 July 2012 15:24, salvatore benedetto <salvatore.benedetto at gmail.com> wrote: > I'm not sure how to interpret the above output, but I don't understand > why if say -triple armv4t-none--gnueabi . Ok, we're getting there... ;) I think these errors are due to Clang not finding the libraries/includes/etc for the target you're building. If you have
2009 Jul 03
0
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
Hi, Neel > I suspect it is using the wrong assembler. But when I do llvm-gcc -v I > can see it has: > >  --with-gnu-as=/home/neel/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-as But how's assembler actually called? Just try to compile something with extra -v option added -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
2009 Jul 03
4
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
...-with-cpu=cortex-a8 to configuration for llvm-gcc RESULT: llvm-gcc now builds but when I try to use it I get "as: unrecognized option `-mcpu=cortex-a8'" I suspect it is using the wrong assembler. But when I do llvm-gcc -v I can see it has: --with-gnu-as=/home/neel/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-as If I use that assembler directly I get an executable but printf, fflush and others are UNDefined. I can compile programs using the CodeSourcery gcc toolchain just fine. I did not even have to install the runtime code on the Beagle Board. it just worked. Any...
2011 Aug 10
0
3.6.0 cross-compile error (reg_format.c)
...c_c.c Compiling registry/reg_parse.c Compiling registry/reg_format.c In file included from registry/reg_parse_internal.h:32, from registry/reg_format.c:29: include/includes.h:382: error: expected specifier-qualifier-list before 'blksize_t' The following command failed: /opt/Sourcery_G++_Lite/bin/mips-linux-gnu-gcc -O2 -I../lib/zlib -EL -O2 -I. -I/home/martin/EM7075/work/samba-3.6.0/source3 -I/home/martin/EM7075/work/samba-3.6.0/source3/../lib/popt -I/home/martin/EM7075/work/samba-3.6.0/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/teve...
2010 Nov 07
2
[LLVMdev] Compiling front end for ARM target
...-install/ --enable-pic --disable-bootstrap --target=arm-none-linux-gnueabi --enable-languages=c,c++ Then I try to make: make ENABLE_PROFILING=1 ENABLE_OPTIMIZED=1 However I encounter a no such file error for crti.o when linking. crti.o exists in /usr/lib/ and /usr/lib64/ as well as /CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/usr/lib/ which is in my path. Anybody know how to solve this? Or have better instructions on how to build llvm on x86_64 for an ARM target? -- View this message in context: http://old.nabble.com/Compiling-front-end-for-ARM-target-tp30151639p30151639.html Sent fr...
2010 Nov 08
0
[LLVMdev] Compiling front end for ARM target
...t; --target=arm-none-linux-gnueabi --enable-languages=c,c++ > > Then I try to make: > > make ENABLE_PROFILING=1 ENABLE_OPTIMIZED=1 > > However I encounter a no such file error for crti.o when linking. crti.o > exists in /usr/lib/ and /usr/lib64/ as well as > /CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/usr/lib/ which > is in my path. What's it linking when it fails? If it's the libgcc files, then the cross-compiler just build is having trouble locating the runtime libraries for your ARM target. You may need to specify --with-sysroot to the compiler c...
2012 Jul 18
3
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 18 July 2012 15:46, salvatore benedetto <salvatore.benedetto at gmail.com> wrote: > $ clang++ -ccc-host-triple thumbv7m-none-gnueabi noInclude.cpp -c > --sysroot=/home/emitrax/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/ Try -ccc-gcc-name arm-none-linux-gnueabi-g++ -ccc-host-triple thumbv7m-none-linux-gnueabi Sometimes it's better than sysroot, as it finds it all by itself. -- cheers, --renato http://systemcall.org/
2012 Jul 18
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
...l 18, 2012 at 5:45 PM, Renato Golin <rengolin at systemcall.org> wrote: > On 18 July 2012 15:46, salvatore benedetto > <salvatore.benedetto at gmail.com> wrote: >> $ clang++ -ccc-host-triple thumbv7m-none-gnueabi noInclude.cpp -c >> --sysroot=/home/emitrax/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/ > > Try -ccc-gcc-name arm-none-linux-gnueabi-g++ -ccc-host-triple > thumbv7m-none-linux-gnueabi > > Sometimes it's better than sysroot, as it finds it all by itself. And the winner is.. clang++ -ccc-gcc-name arm-none-linux-gnueabi-g++ -ccc-ho...
2009 Jul 12
0
[LLVMdev] -static option with llvm-arm-gcc
Hello, I'm testing my llvm-arm toolchain by compiling a simple source code (like hello world). Particularly, when I use '-static' option for compilation, I have the following error message. $ llvm-arm-gcc -o hello hello.c -static /home/wonjeon/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc//usr/lib/libc.a(backtrace.o): In function `backtrace': backtrace.c:(.text+0x2c): undefined reference to `_Unwind_Backtrace' collect2: ld returned 1 exit status I have no problem for '-static' option with llvm-gcc for x86 and arm-none-linux-gnu...
2009 Jul 03
0
[LLVMdev] llvm-gcc cross compiler for ARM Linux failing
...ion for llvm-gcc > > RESULT: llvm-gcc now builds but when I try to use it I get "as: > unrecognized option `-mcpu=cortex-a8'" > > I suspect it is using the wrong assembler. But when I do llvm-gcc -v I > can see it has: > > --with-gnu-as=/home/neel/CodeSourcery/Sourcery_G++_Lite/bin/arm- > none-linux-gnueabi-as > > If I use that assembler directly I get an executable but printf, > fflush and others are UNDefined. > > I can compile programs using the CodeSourcery gcc toolchain just fine. > I did not even have to install the runtime code on the...
2012 Jul 22
3
[LLVMdev] Setting up a cross-compiler for cortex-m3
...45 PM, Renato Golin <rengolin at systemcall.org> wrote: >> On 18 July 2012 15:46, salvatore benedetto >> <salvatore.benedetto at gmail.com> wrote: >>> $ clang++ -ccc-host-triple thumbv7m-none-gnueabi noInclude.cpp -c >>> --sysroot=/home/emitrax/CodeSourcery/Sourcery_G++_Lite/arm-none-linux-gnueabi/libc/ >> >> Try -ccc-gcc-name arm-none-linux-gnueabi-g++ -ccc-host-triple >> thumbv7m-none-linux-gnueabi >> >> Sometimes it's better than sysroot, as it finds it all by itself. > > And the winner is.. > > clang++ -ccc-gcc-n...
2018 Apr 08
0
Success : clang/LLVM-built host kernel and clang-built VMware kernel modules for VMware Player 14.1.1 on host Ubuntu 17.10 x86_64
...96) = 106 read(11, "", 3072) = 0 close(11) = 0 write(10, "2018-04-07T00:37:09.944-07:00| v"..., 71) = 71 access("/sbin/gcc-7.3", X_OK) = -1 ENOENT (No such file or directory) access("/home/g/CodeSourcery/Sourcery_G++_Lite/bin/gcc-7.3", X_OK) = -1 ENOENT (No such file or directory) access("/home/g/bin/gcc-7.3", X_OK) = -1 ENOENT (No such file or directory) access("/home/g/.local/bin/gcc-7.3", X_OK) = -1 ENOENT (No such file or directory) access("/usr/local/sbin/gcc-7.3",...