search for: cross_compil

Displaying 20 results from an estimated 65 matches for "cross_compil".

Did you mean: cross_compile
2010 Mar 15
1
host cross-compile patch
I tend to use the same tool-chain across various hosts so I made this very simple patch that allows you to pass the cross-compiler name to make ( e.g. make CROSS_COMPILE=i686-nptl-linux-gnu-). I'm not sure if patches should be attached or just pasted inline so I did both this time. BTW, it's relative to syslinux 4 but the same changes work with syslinux 3 although the patch won't apply cleanly. don ------------- diff --git a/MCONFIG b/MCONFIG index...
2007 Mar 22
1
[PATCH] use CC for defining CPP
...beulich@novell.com> Index: 2007-03-19/config/StdGNU.mk =================================================================== --- 2007-03-19.orig/config/StdGNU.mk 2007-03-08 09:37:32.000000000 +0100 +++ 2007-03-19/config/StdGNU.mk 2007-03-21 14:33:40.000000000 +0100 @@ -1,7 +1,7 @@ AS = $(CROSS_COMPILE)as LD = $(CROSS_COMPILE)ld CC = $(CROSS_COMPILE)gcc -CPP = $(CROSS_COMPILE)gcc -E +CPP = $(CC) -E AR = $(CROSS_COMPILE)ar RANLIB = $(CROSS_COMPILE)ranlib NM = $(CROSS_COMPILE)nm _______________________________________________ Xen-devel mail...
2007 Mar 13
0
configure cross_compiling+iconv wierdness
...quot; >&5 echo $ECHO_N "checking whether iconv() accepts \"UTF-8\", \"latin1\" and \"UCS-*\"... $ECHO_C" >&6 if test "${r_cv_iconv_latin1+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then r_cv_iconv_latin1=no else cat >conftest.$ac_ext <<_ACEOF ..... _ACEOF ============= FWIW, I am doing my "cross-compile" with a slightly more complicated version of this: LDFLAGS=-m32 CFLAGS=-m32 CPPFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=-m32 \ ./configure -...
2010 Apr 16
2
klibc-1.5.17 build failure on mips
...xit' usr/klibc/execl.o: In function `execl': execl.c:(.text+0x80): undefined reference to `execve' usr/klibc/execle.o: In function `execle': execle.c:(.text+0x84): undefined reference to `execve ........ I am using gcc-4.4.3 toolchain. for kernel 2.6.31. My build command is: make CROSS_COMPILE=mipsel-linux- KLIBCARCH=mips KBUILD_VERBOSE=1 Googled around and saying that it might work if i disable distcc. So i added make CROSS_COMPILE=mipsel-linux- KLIBCARCH=mips KBUILD_VERBOSE=1 FEATURES="-distcc". But no difference. Any idea what caused this? Thanks chris -------------- ne...
2011 May 31
0
[XEN-NVIDIA] Update 270.41.06 Failed
...portage/x11-drivers/nvidia-drivers-270.41.06/ > work ... > >>> Source configured. > >>> Compiling source in > /var/tmp/portage/x11-drivers/nvidia-drivers-270.41.06/wo > rk ... > ^[[32;01m*^[[0m Preparing nvidia module > make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- > LDFLA > GS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux > SYSOUT=/lib/modules/2.6.34- > xen-r4/build HOST_CC=x86_64-pc-linux-gnu-gcc clean module > The kernel you are installing for is a Xen kernel! > > The NVIDIA driver does not currently work on X...
2007 Feb 16
3
RPM rebuild, cross compiling from x86 to x86_64
Hi I want to recompile some RPMs (my own) for x86_64 arch from my i386 compatible build host (because of hardware restriction/funds).Is anyone ever done this ? After a google search, it seems not so easy... i just found this: http://www.speedblue.org/cross_compilation/ but haven't tried it yet (i would have to convert these to RPM first). How is it done for Centos SRPMS rebuilds ? is it a different hardware for each target arch ? Thanks ! -- Martin
2013 Aug 21
2
Build problems: klibc with Linux 3.10.7
...eaders_install > > > >B) cd ~/src/klibc > > make KLIBCKERNELSRC=`pwd`/../linux/usr/ > > > > > Sorry, but without my patchs, 'make install' fails with the > following message (complete messages file attached) > > # make install V=1 KLIBCARCH=ppc CROSS_COMPILE=ppc-linux- > KLIBCKERNELSRC=/root/gen/trunk/knl/linux/usr/ > prefix=/tmp/klibc-install have you done step A previously? It seems you are not compiling against the preconfigured linux headers otherwise the headers_install wouldn't fail. -- maks
2013 Mar 15
22
[PATCH 00/09] arm: tools: build for arm64 and enable cross-compiling for both arm32 and arm64
...ns on how to compile with these patches on the wiki: http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/CrossCompiling Thanks are due to Wookey who gave lots of good advice in the hackrooms at LinaroConnect last week. I consider it an outstanding bug that you need to essentially pass CROSS_COMPILE and XEN_TARGET_ARCH to both configure and make. This is hardly the only remaining annoyance in our build system though... Ian.
2006 Jan 31
1
[patch] Kbuild.klibc don't hardcode gcc version
...king run-init. belows makes use of the exported CC var. Signed-off-by: maximilian attems <maks@sternwelten.at> diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index 66e16e7..70e4071 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -72,7 +72,7 @@ KLIBCROSS := $(CROSS_COMPILE) # binutils KLIBCLD := $(KLIBCROSS)ld -KLIBCCC := $(KLIBCROSS)gcc +KLIBCCC := $(KLIBCROSS)$(CC) KLIBCAR := $(KLIBCROSS)ar KLIBCRANLIB := $(KLIBCROSS)ranlib KLIBCSTRIP := $(KLIBCROSS)strip
2008 Sep 27
4
[LLVMdev] compile linux kernel
Hi, I'm trying to compile linux-2.6.23.16 with llvm-2.3. Is it at all possible? I get "Not an ELF" error. I pass "-emit-llvm" option to spit LLVM IR, which can be JITed at runtime $ make CROSS_COMPILE=llvm- CFLAGS="-O2 -emit-llvm" Error: not ELF make[2]: *** [scripts/mod/elfconfig.h] Error 1 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2 using the verbose option - $ make V=1 CROSS_COMPILE=llvm- CFLAGS="-O2 -emit-llvm" /bin/bash scripts/checksyscalls.sh llvm...
2013 Aug 21
3
Build problems: klibc with Linux 3.10.7
...gt;>>> make KLIBCKERNELSRC=`pwd`/../linux/usr/ >>>> >>>> >>> Sorry, but without my patchs, 'make install' fails with the >>> following message (complete messages file attached) >>> >>> # make install V=1 KLIBCARCH=ppc CROSS_COMPILE=ppc-linux- >>> KLIBCKERNELSRC=/root/gen/trunk/knl/linux/usr/ >>> prefix=/tmp/klibc-install >> have you done step A previously? >> It seems you are not compiling against the preconfigured linux headers >> otherwise the headers_install wouldn't fail. >>...
2009 Jul 09
1
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
traps.i has been attached. I used 'make CROSS_COMPILE=llvm-arm-' to compile the kernel with default configurations provided by kernel package If you need more information, please let me know. Thanks, Won On Wed, Jul 8, 2009 at 3:00 PM, Bob Wilson <bob.wilson at apple.com> wrote: > Thanks for the bug report. The attached file isn'...
2004 Jun 22
8
[Bug 321] configure does not work when cross compiling
http://bugzilla.mindrot.org/show_bug.cgi?id=321 ------- Additional Comments From astrand at lysator.liu.se 2004-06-22 20:45 ------- Created an attachment (id=655) --> (http://bugzilla.mindrot.org/attachment.cgi?id=655&action=view) Patch to configure.ac (3.7p1) This new patch is for 3.7p1. It only modifies configure.ac; no C source. Can someone *please* apply? ------- You are
2019 Feb 01
0
[klibc:master] README.klibc: Replace list with sections and headings
...le to install the kernel headers elsewhere and +point to them there. - It is also possible to install the kernel headers elsewhere and - point to them there. +Cross-compiling +--------------- +If you're cross-compiling, you need to set KLIBCARCH to the +appropriate architecture, and set CROSS_COMPILE to your toolchain +prefix. -b) If you're cross-compiling, you need to set KLIBCARCH to the - appropriate architecture, and set CROSS_COMPILE to your toolchain - prefix. +IMPORTANT: if you're on a 64-bit machine with a 32-bit userland +(ia64, mips64, ppc64 sparc64, s390x or x86_64), a...
2013 Aug 30
7
bootwrapper can't be compiled for cubieboard2
Hi Ian, I try compile the bootwrapper for cubieboard2 like this: joshzhao@joshzhao-ThinkCentre-M58p:~/project/Xen/A20/boot-wrapper$ make cubieboard2_defconfig CROSS_COMPILE=arm-linux-gnueabihf- # # configuration written to .config # joshzhao@joshzhao-ThinkCentre-M58p:~/project/Xen/A20/boot-wrapper$ make CROSS_COMPILE=arm-linux-gnueabihf- make -C scripts/kconfig -f Makefile.bootwrapper silentoldconfig cd ../../ && scripts/kconfig/conf --silentoldconfig /home/j...
2013 Apr 10
1
Compiling Xen-tools
...ned in the above link, which I feel is due to version difference. I am using Xen 4.3.3 version. My understanding is that due to this version difference I am not able to compile xen tools. I have produced the output below. Also I have attached my mkheader.py file for reference. ... make dist-tools CROSS_COMPILE=arm-linux-gnueabihf- XEN_TARGET_ARCH=arm32 make -C tools install make[1]: Entering directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools'' make[2]: Entering directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools'' make -C include install make[3]: Entering d...
2002 Mar 25
1
int 32 bit error on SPARC 64bit (PR#1415)
...arrior 6) chokes on it. 678 So for now just assume it is true. 679 */ ***Related code in configure file: 10871 if test "${ac_cv_sizeof_int}" = 4; then 10872 cat >> confdefs.h <<\EOF 10873 #define INT_32_BITS 1 10874 EOF 10875 10876 fi 10877 if test "${cross_compiling}" = yes; then 10878 warn_xcompile_sizeof_long="assuming C longs are 4 byte on ${host}" 10879 echo "configure: warning: ${warn_xcompile_sizeof_long}" 1>&2 10880 fi ********* Solution: ********* Run ./configure Ignore warnings in R-1.4.1/ directory create a...
2016 Oct 28
9
LLD to be the default linker in Clang
...inux system "chooses" the linker, but that makes deployment and validation quite cumbersome on GNU systems. I'd like to suggest a change in behaviour: // Some flag like --linker=<full path / bin on path> if (LinkerFlag) { linker = Flag (linker); // triple != host } else if (CROSS_COMPILE) { if (LLDSupports(triple)) linker = Find (LLD); if (!linker) linker = Find (triple-ld); if (!linker) ERROR; // *NOT* the system linker! // triple = host } else { linker = Find (LLD); if (!linker) linker = Find (SYSLD); // OS-specific if (!linker) ERROR; // We trie...
2004 Dec 27
0
[patch] some buildsystem fixes for crosscompiling
...; ], - [ ac_cv_have_control_in_msghdr="no" ] + [ ac_cv_have_control_in_msghdr="no" ], + [ ac_cv_have_control_in_msghdr="yes" ] ) ]) if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then @@ -2115,13 +2153,14 @@ ) fi fi +if test "$cross_compiling" != yes; then AC_CHECK_FILE("/dev/ptc", [ AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC) have_dev_ptc=1 ] ) - +fi # Options from here on. Some of these are preset by platform above AC_ARG_WITH(mantype, [ --with-mantype=man|cat|doc Set man page type], @@ -2215,15 +2254...
2008 Sep 27
2
[LLVMdev] compile linux kernel
...embly. I'm using LLVM-2.3 code snippet from "arch/x86_64/kernel/asm-offsets.c" .... #define DEFINE(sym, val) \ asm volatile("\n->" #sym " %0 " #val : : "i" (val)) .... DEFINE(__NR_syscall_max, sizeof(syscalls) - 1); return 0; # make CROSS_COMPILE=llvm- V=1 llvm-gcc -Wp,-MD,arch/x86_64/kernel/.syscall.o.d -nostdinc -isystem /home/ashish/llvm/llvm-gcc4.2-2.3.source/obj/../install/lib/gcc/x86_64-unknown-linux-gnu/4.2.1/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -emit-llvm -Wall -Wundef -Wstrict-prototypes -Wno-trigr...