MacOSX build

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Klaus Rechert klaus.rechert at rz.uni-freiburg.de
Mon May 16 20:58:36 UTC 2011


> some quick notes on the MacOSX build. Current git builds fine using 
> the perbuilt GNUARM MacOS toolchain except that GCC 3.3 does not 
> support the option -Wextra. 

-Wextra was formerly known as -w and is still supported (cf. 
http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html)
Maybe this can be changed to support older toolchains. However, it is a 
minor issue.

Cheers
     Klaus


diff --git a/src/target/firmware/Makefile.inc 
b/src/target/firmware/Makefile.inc
index 1f54031..3783355 100644
--- a/src/target/firmware/Makefile.inc
+++ b/src/target/firmware/Makefile.inc
@@ -12,7 +12,7 @@ OBJCOPY=objcopy
  DEBUGF=dwarf-2

  CFLAGS=-mcpu=arm7tdmi $(INCLUDES)
-CFLAGS += -Wall -Wextra -Wcast-align -Wimplicit -Wunused
+CFLAGS += -Wall -w -Wcast-align -Wimplicit -Wunused
  CFLAGS += -Wswitch -Wredundant-decls -Wreturn-type -Wshadow 
-Wnested-externs
  CFLAGS += -Wbad-function-cast -Wsign-compare -Waggregate-return
  CFLAGS += -Os -ffunction-sections




More information about the baseband-devel mailing list