uClibc and expected versions of usable gcc

Alexander Voropay alec at sensi.org
Tue Jan 8 17:52:04 UTC 2008


> at this time, i'd consider gcc-3.4.6 the oldest version worth using with
> uClibc.

With this small patch GCC 3.4.6 works for me.

Is it possible to make it configurable for GCC3 ?

===============================

--- Rules.mak.OLD       2008-01-08 17:49:46.000000000 +0300
+++ Rules.mak   2008-01-08 17:50:05.000000000 +0300
@@ -399,7 +399,7 @@
 CFLAGS += -DSTATIC
 endif

-CFLAGS += $(call check_gcc,-std=gnu99,)
+CFLAGS += $(call check_gcc,)

 LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared --warn-common --warn-once
-z combreloc
 # binutils-2.16.1 warns about ignored sections, 2.16.91.0.3 and newer are ok

================================



More information about the uClibc mailing list