Hi,
I want to cross-compile the live555 media server on DM365 EVM, and searched a few posts on how to change config.armlinux, like http://linux.omap.com/pipermail/davinci-linux-open-source/2008-May/006458.html.
CROSS_COMPILE= arm-linux-
COMPILE_OPTS = $(INCLUDES) -I /usr/local/arm/arm-linux/lib -O2
-DSOCKLEN_T=socklen_t -DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1
C = c
C_COMPILER = $(CROSS_COMPILE)gcc
C_FLAGS = $(COMPILE_OPTS)
CPP = cpp
CPLUSPLUS_COMPILER = $(CROSS_COMPILE)g++
CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -DBSD=1
OBJ = o
LINK = $(CROSS_COMPILE)g++ -o
LINK_OPTS = -L.
CONSOLE_LINK_OPTS = $(LINK_OPTS)
LIBRARY_LINK = $(CROSS_COMPILE)ld -o
LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic
LIB_SUFFIX = a
LIBS_FOR_CONSOLE_APPLICATION =
LIBS_FOR_GUI_APPLICATION =
EXE =
Unfortunately, I guess I did not set COMPILE_OPTS correctly, thus getting thousands of error lines like "undefined reference to operator new(unsigned int)".
I tried to change the -I location several times, none of them succeeded.
Does someone know what is the path of COMPILE_OPTS?
Thanks a lot.
Tao