From f5d363da60f60481608bc21a7cc1732913e4142e Mon Sep 17 00:00:00 2001 From: jehan monnier <jehan.monnier@gmail.com> Date: Wed, 21 Oct 2009 20:39:45 +0200 Subject: [PATCH] add linker search path for wince --- linphone/README.mingwce | 6 ++++++ linphone/oRTP/configure.ac | 3 ++- linphone/scripts/cegcc-config.site | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 linphone/README.mingwce diff --git a/linphone/README.mingwce b/linphone/README.mingwce new file mode 100644 index 0000000000..ce2dc0000c --- /dev/null +++ b/linphone/README.mingwce @@ -0,0 +1,6 @@ +install arm-mingw32ce from 0.55 from http://cegcc.sourceforge.net/ + + +for ortp: +cd oRTP +./configure --host=arm-mingw32ce --enable-strict=no --enable-ipv6=no diff --git a/linphone/oRTP/configure.ac b/linphone/oRTP/configure.ac index 1412c23b44..696a7973f0 100644 --- a/linphone/oRTP/configure.ac +++ b/linphone/oRTP/configure.ac @@ -99,7 +99,8 @@ case "$target_os" in PTHREAD_LDFLAGS="-pthread" ;; *mingw32ce) - CFLAGS="$CFLAGS -D_WIN32_WCE";; + CFLAGS="$CFLAGS -D_WIN32_WCE" + LIBS="$LIBS -lws2 -liphlpapi";; *mingw*) CFLAGS="$CFLAGS -D_WIN32_WINNT=0x0501 -DORTP_STATIC" LIBS="$LIBS -lws2_32 -liphlpapi -lwinmm" diff --git a/linphone/scripts/cegcc-config.site b/linphone/scripts/cegcc-config.site index f682f17bbd..63f4c66242 100644 --- a/linphone/scripts/cegcc-config.site +++ b/linphone/scripts/cegcc-config.site @@ -12,3 +12,4 @@ RANLIB=${SDK_BIN_PATH}/arm-mingw32ce-ranlib CPPFLAGS="-Dasm=__asm" #LDFLAGS="-Wl,-syslibroot ${SYSROOT_PATH}" +LDFLAGS="-L${SYSROOT_PATH}/arm-mingw32ce/lib" -- GitLab