Displaying 8 results from an estimated 8 matches for "gcc_major".
Did you mean:
dgcc_major
2004 Jul 27
1
warning killing for poor !LANG=C|US people
--- ../multipath-tools-0.2.8.1/klibc/klibc/arch/i386/MCONFIG 2004-07-20
10:51:42.000000000 +0200
+++ klibc/klibc/arch/i386/MCONFIG 2004-07-27 17:10:12.000000000 +0200
@@ -13,7 +13,7 @@
# them to be cdecl
# REGPARM = -mregparm=3 -DREGPARM
-gcc_major := $(shell $(CC) -v 2>&1 | awk '/gcc version/{print int($$3)}')
+gcc_major := $(shell unset LANG;$(CC) -v 2>&1 | awk '/gcc version/{print
int($$3)}')
OPTFLAGS = $(REGPARM) -march=i386 -Os
--
2014 Sep 11
3
[LLVMdev] patch for DragonEgg 3.3
Hi - attached is a patch to enable building DragonEgg (x86_64) for LLVM3.3 and LLVM3.4. That is, add these changes to the 3.3 release, and it becomes possible to build DragonEgg against a llvm3.4 compiler.
Regards,
Richard Gorton
Cognitive Electronics
rcgorton at cog-e.com
----------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name:
2005 Feb 10
1
[PATCH] make DEBUG=true
...GS += -O1 -g
+endif
+
+
# How to tell the linker main() is the entrypoint
EMAIN ?= -e main
Index: klibc/arch/i386/MCONFIG
===================================================================
--- klibc/arch/i386/MCONFIG (revision 1003)
+++ klibc/arch/i386/MCONFIG (working copy)
@@ -13,7 +13,7 @@
gcc_major := $(shell echo __GNUC__ | $(CC) -E -xc - | tail -n 1)
-OPTFLAGS = $(REGPARM) -march=i386 -Os -g
+OPTFLAGS = $(REGPARM) -march=i386 -Os
ifeq ($(gcc_major),3)
REGPARM := $(REGPARM_OPT)
2011 Jan 08
2
[LLVMdev] DragonEgg on FreeBSD
Hi, folks
I have made DragonEgg supports FreeBSD 8.1. May someone like
to a look? :)
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Parallel Processing Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
2011 Jan 08
0
[LLVMdev] DragonEgg on FreeBSD
Hi chenwj,
> I have made DragonEgg supports FreeBSD 8.1. May someone like
> to a look? :)
great! Does it work ok? If you had to make any changes to dragonegg, please
send patches to the mailing list. If there are some tricks needed to get it
to build, please explain what you had to do and these can be mentioned in the
dragonegg README and on the web-site.
Ciao, Duncan.
2011 Jan 09
1
[LLVMdev] DragonEgg on FreeBSD
...----------------------------------------------------------------------
--- Makefile.orig 2011-01-08 12:39:35.480184745 +0800
+++ Makefile 2011-01-08 12:40:58.569064365 +0800
@@ -52,7 +52,8 @@
-MD -MP \
-DIN_GCC -DREVISION=\"$(REVISION)\" \
-DGCC_MAJOR=$(GCC_MAJOR) -DGCC_MINOR=$(GCC_MINOR) \
- -I$(SRC_DIR) -I$(GCC_PLUGIN_DIR)/include
+ -I$(SRC_DIR) -I$(GCC_PLUGIN_DIR)/include \
+ -I/usr/local/include
LD_OPTIONS+=$(LDFLAGS) $(shell $(LLVM_CONFIG) --ldflags)
--------------------------------------------------------...
2011 Apr 18
0
[LLVMdev] [EXPERIMENTAL] Building Dragonegg on Cygwin
...It takes so long time. :/
4. Compile dll.c
$ gcc -O3 -Wall dll.c -c
$ ar rcs $(GCC_PLUGIN_DIR)/lib/libcc1.a dll.o
5. Tweak Dragonegg's Makefile and build!
[Dragonegg]
--- a/Makefile
+++ b/Makefile
@@ -57,6 +57,8 @@ CPP_OPTIONS+=$(CPPFLAGS) $(shell $(LLVM_CONFIG) --cppflags) \
-DGCC_MAJOR=$(GCC_MAJOR) -DGCC_MINOR=$(GCC_MINOR) \
-I$(INCLUDE_DIR) -I$(GCC_PLUGIN_DIR)/include
+LD_OPTIONS+=-Wl,-e,_lazymain at 12 -L $(GCC_PLUGIN_DIR)/lib -lcc1
+
LD_OPTIONS+=$(shell $(LLVM_CONFIG) --ldflags) $(LDFLAGS)
# NOTE: The following flags can only be used after TARGET_UTIL has been...
2004 Feb 22
1
Shell scripts broken in klibc-0.114
...bc/arch/i386/MCONFIG~ 2004-02-21 17:49:26.000000000 -0500
+++ klibc/arch/i386/MCONFIG 2004-02-22 17:59:58.000000000 -0500
@@ -9,7 +9,7 @@
# Enable this to compile with register parameters; only safe for
# gcc > 3
-REGPARM_OPT := -mregparm=3 -DREGPARM
+#REGPARM_OPT := -mregparm=3 -DREGPARM
gcc_major := $(shell $(CC) -v 2>&1 | awk '/gcc version/{print int($$3)}')
This is a real downer when using klibc+ash for /linuxrc :-).
My GCC identifies itself as "gcc version 3.2.2 20030222 (Red Hat Linux
3.2.2-5)".
- Pat