Displaying 15 results from an estimated 15 matches for "cflags_for_build".
2017 Jun 30
4
[PATCH v2 0/4] Allow cross-building of syslinux
Hi together,
this is the second version of my cross-compilation patch serie. I'm sending it in the hope to get an honest review, and possibly see the patches integrated upstream.
Those patches allow to build syslinux using a toolchain different from the host one by explicitely using the host toolchain for the utilities that are required at build-time / on the build machine.
I am using the
2011 Oct 03
0
[LLVMdev] ld crashes with invalid pointer on Ubuntu 11.04 x86 when linking libgcc_s.so
I downloaded the source package for Ubuntu 11.04's ld - it's part of
binutils. It's building right now with "-g" on the compile command
line, and with --prefix set to install in a subdir of my ~/LLVM
directory.
I've already tried enabling core dumps:
$ ulimit -c unlimited
... but with the release ld that's included with Ubuntu I don't get
symbols. Building
2005 Dec 13
2
Parallel build of dash still fails
Building dash in parallel still fails:
GEN dash/builtins.def
HOSTCC dash/mkinit
HOSTCC dash/mknodes
HOSTCC dash/mksignames
HOSTCC dash/mksyntax
dash/mksignames.c:59: warning: function declaration isn?t a prototype
dash/mksignames.c:365: warning: function declaration isn?t a prototype
dash/mksignames.c:386: warning: function declaration isn?t a prototype
KLIBCCC
2015 May 01
0
[ANNOUNCE] libXt 1.1.5
libXt is the X Toolkit Intrinsics library used to build older generation
toolkits such as Motif & Xaw.
Alan Coopersmith (8):
Revert "Avoid shadowing variables."
If CFLAGS_FOR_BUILD is not set, include CWARNFLAGS in default value
makestrs: use strchr() instead of index()
makestrs: Replace malloc()+strcpy() calls with strdup() calls
makestrs: Replace strcpy()+strcat() calls with snprintf() calls
makestrs: Use asprintf() if available
unifdef -UCRAY...
2017 Apr 05
0
[PATCH 2/2] utils: Use the host toolchain to build.
...file b/utils/Makefile
index dfe6259..f31f117 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -17,8 +17,9 @@
VPATH = $(SRC)
include $(MAKEDIR)/syslinux.mk
-CFLAGS = $(GCCWARN) -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I$(SRC)
-LDFLAGS = -O2
+CC = $(CC_FOR_BUILD)
+CFLAGS = $(CFLAGS_FOR_BUILD) $(GCCWARN) -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -I$(SRC)
+LDFLAGS = $(LDFLAGS_FOR_BUILD) -O2
C_TARGETS = isohybrid gethostip memdiskfind
SCRIPT_TARGETS = mkdiskimage
--
2.1.4
2024 May 21
1
Default CXXFLAGS
On Tue, 21 May 2024 14:48:48 +0200
Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote:
> I guess foer the CXXFLAGS we want dpkg-buildflags --get CXXFLAGS?
It must be the case. It's both the documented option [1] and it
currently differs from CFLAGS in the offending flag:
root at 93e09ba5b6fb:/# diff -u <(dpkg-buildflags --get CFLAGS | sed 's/ /\n/g') <(dpkg-buildflags --get
2006 Dec 22
5
[LLVMdev] in Cygwin problems
...intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/llvm3/llvm/build/intl'
make[1]: Entering directory `/tmp/llvm3/llvm/build/zlib'
: make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-O2" "CXXFLAGS=-O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FO
R_TARGET=-O2 -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/us
r/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-O2" "LIBCFLAGS_FO...
2011 Oct 03
4
[LLVMdev] ld crashes with invalid pointer on Ubuntu 11.04 x86 when linking libgcc_s.so
This shouldn't be considered our bug (should it?). I'm going to
report it to Ubuntu.
I will restart my build, but does anyone else see this on Ubuntu
11.04? Note that I have a 32-bit machine with 2 GB of RAM and no
swap.
$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.21.0.20110327
Copyright 2011 Free Software Foundation, Inc.
$ uname -a
Linux frylock 2.6.38-11-generic #50-Ubuntu
2008 Jan 01
8
DO NOT REPLY [Bug 5170] New: Cross compilation does not work
...rg
The makefiles try to build the "mkrounding" tool with the "host" compiler;
however, this file is being executed later in the build, so it has to be
compiled with the "build" compiler. Usually, autotoolized Makefiles solve this
by using CC_FOR_BUILD and the related CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD.
Error message, taken during a build for ARM here:
----------8<----------8<----------
arm-v4t-linux-gnueabi-gcc -std=gnu99 -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt
-L/some/path/sysroot/arm-v4t-linux-gnueabi/lib
-L/some/path/sysroot/arm-v4t-linux-gnueabi/usr/lib -Wl,-rp...
2006 Dec 22
0
[LLVMdev] in Cygwin problems
...1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/tmp/llvm3/llvm/build/intl'
> make[1]: Entering directory `/tmp/llvm3/llvm/build/zlib'
> : make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-O2" "CXXFLAGS=-O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FO
> R_TARGET=-O2 -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/us
> r/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-O2" "LI...
2008 Dec 16
0
[LLVMdev] ICE while building llvm-gcc
On Dec 16, 2008, at 10:34 AM, Jeffrey Yasskin wrote:
> I'm on OSX 10.5, trying to build a svn checkout of llvm-gcc. I've also
> checked out llvm. Both are synced to r61075.
hi Jeffrey,
This patch should have fixed the problem:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20081215/071210.html
Please update and try again, sorry for the breakage!
-Chris
2004 Oct 04
1
[LLVMdev] cfrontend-1.3.source: Compilation error
...tl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/dir1/cfrontend/src/intl'
make[1]: Entering directory `/dir1/cfrontend/src/zlib'
: make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAG...
2008 Dec 17
2
[LLVMdev] ICE while building llvm-gcc
..."tooldir=/Users/jyasskin/src/llvm-gcc-4.2/trunk/obj/../install/i686-apple-darwin9"
"build_tooldir=/Users/jyasskin/src/llvm-gcc-4.2/trunk/obj/../install/i686-apple-darwin9"
"target_alias=i686-apple-darwin9" "BISON=bison" "CC_FOR_BUILD=gcc
-m32" "CFLAGS_FOR_BUILD=-g -O2" "CXX_FOR_BUILD=g++ -m32"
"EXPECT=expect" "FLEX=flex" "INSTALL=/opt/local/bin/ginstall -c"
"INSTALL_DATA=/opt/local/bin/ginstall -c -m 644"
"INSTALL_PROGRAM=/opt/local/bin/ginstall -c"
"INSTALL_SCRIPT=/opt/local/bin/ginsta...
2017 Apr 05
5
[PATCH 0/2] Cross-compilation patches
Hi there,
I've had issue with the integration of syslinux into the buildroot project
[0]. After some research, it turned out that we were wrongly using the host
toolchain instead of the target toolchain to build syslinux. This gave us
bigger issues (for instance) when trying to link syslinux with gnu-efi, that
was built using the target toolchain.
The first one forces ld to output i386
2008 Dec 16
2
[LLVMdev] ICE while building llvm-gcc
I'm on OSX 10.5, trying to build a svn checkout of llvm-gcc. I've also
checked out llvm. Both are synced to r61075.
I'm using Apple's gcc 4.0.1:
$ gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5488~2/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++