Hi,
the major plan for uclibc vs. glibc is to provide an option to
switch between the two cases in ADK. This is really necessary and I
have some real world problems, we can fix with this option.
So keep this in mind.
Waldemar
On Tue, 22 May 2007 at 19:43 +0200, [EMAIL PROTECTED] wrote:
> Author: tg
> Date: 2007-05-22 19:43:38 +0200 (Tue, 22 May 2007)
> New Revision: 2618
>
> Modified:
> trunk/freewrt/package/pcre/Makefile
> Log:
> disable C++ bindings for pcre – they link against libstdc++-v3 not uClibc++
>
> My thoughts:
>
> 1. we should probably really disable building libstdc++ in toolchain
> 2. we *must* avoid the plus sign in pathnames, otherwise libtool will
> throw error messages such as
> | grep: repetition-operator operand invalid
> | usage: grep [-abcEFGHhIiLlnoPqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
> | [-e pattern] [-f file] [--binary-files=value] [--context[=num]]
> | [--line-buffered] [pattern] [file ...]
> when trying to link against libraries placed in such paths.
>
>
> Modified: trunk/freewrt/package/pcre/Makefile
> ===================================================================
> --- trunk/freewrt/package/pcre/Makefile 2007-05-22 17:25:38 UTC (rev
> 2617)
> +++ trunk/freewrt/package/pcre/Makefile 2007-05-22 17:43:38 UTC (rev
> 2618)
> @@ -8,7 +8,7 @@
>
> PKG_NAME:= pcre
> PKG_VERSION:= 7.0
> -PKG_RELEASE:= 1
> +PKG_RELEASE:= 2
> PKG_MD5SUM:= a34681744d97d8eb41c576de71c97150
> PKG_SOURCE_URL:= @SF/pcre
>
> @@ -18,16 +18,18 @@
>
> CONFIGURE_STYLE:= gnu
> CONFIGURE_ARGS+= --enable-utf8
> +# C++ support uses libstdc++ not uClibc++ so disable it
> +CONFIGURE_ARGS+= --disable-cpp
> BUILD_STYLE:= auto
> INSTALL_STYLE:= auto
> -XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} CFLAGS="${TCFLAGS}"
> +XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} CFLAGS='${TCFLAGS}'
>
> pre-build:
> - ${MAKE} -C "${WRKBUILD}" \
> - CC_FOR_BUILD="${HOSTCC}" \
> - LINK_FOR_BUILD="${HOSTCC}" \
> - CFLAGS_FOR_BUILD="" \
> - dftables
> + ${MAKE} -C '${WRKBUILD}' \
> + CC_FOR_BUILD='${HOSTCC}' \
> + LINK_FOR_BUILD='${HOSTCC}' \
> + CFLAGS_FOR_BUILD= \
> + dftables
>
> post-install:
> ${INSTALL_DIR} ${IDIR_LIBPCRE}/usr/lib
>
> _______________________________________________
> freewrt-commits mailing list
> [EMAIL PROTECTED]
> https://www.freewrt.org/lists/listinfo/freewrt-commits
--
don't open your wrt, free it
http://www.freewrt.org
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers