On Fri, May 25, 2012 at 11:58:13PM +0200, Yann E. MORIN wrote:
>Bernhard, All,
>
>On Friday 25 May 2012 23:30:09 Bernhard Reutner-Fischer wrote:
>> The uClibc team is proud to announce the release of uClibc-0.2.4.
>
>I take it you meant uClibc++-0.2.4 ;-)

Indeed. My beloved wife interrupted me mid-sentence and when continuing
i didn't notice, sorry for that..
>
>Congrats! :-)
>
>I was thinking.. Now that you seem to have revived uClibc++, would it make
>sense to incorporate the source tree into uClibc? And have a 'C++' entry
>in the menuconfig, as we do have '

nope. uClibc++ is a c++ thing and a completely different (super)set of affairs.
>
>I believe this would be good, at least in one part: the build system.
>I just cloned the uClibc++ repository, and it just does not build:
>    $ git clone 
>    Cloning into uClibc++...
>    [...]
>    $ cd uClibc++
>    $ git checkout v0.2.4
>    [...blabla detached head...]
>    $ make menuconfig
>    make[1]: Entering directory `/home/ymorin/tmp/uClibc++/extra/config'
>    make[1]: *** ../../.config: Is a directory.  Stop.
>    make[1]: Leaving directory `/home/ymorin/tmp/uClibc++/extra/config'
>    make: *** [extra/config/mconf] Error 2

huh?
rm -rf /tmp/uc
git clone git://git.uClibc.org/uClibc++ /tmp/uc
cd /tmp/uc
make menuconfig 2> /dev/null
<hit Exit, save; works>
make[1]: Entering directory `/tmp/uc/extra/config'
cp zconf.tab.h_shipped zconf.tab.h
gcc -O2 -Wall -DCURSES_LOC="<ncurses.h>" -I. -c mconf.c -o mconf.o
gcc -O2 -Wall -DCURSES_LOC="<ncurses.h>" -I. -c checklist.c -o
checklist.o
gcc -O2 -Wall -DCURSES_LOC="<ncurses.h>" -I. -c menubox.c -o menubox.o
gcc -O2 -Wall -DCURSES_LOC="<ncurses.h>" -I. -c textbox.c -o textbox.o
gcc -O2 -Wall -DCURSES_LOC="<ncurses.h>" -I. -c yesno.c -o yesno.o
gcc -O2 -Wall -DCURSES_LOC="<ncurses.h>" -I. -c inputbox.c -o inputbox.o
gcc -O2 -Wall -DCURSES_LOC="<ncurses.h>" -I. -c util.c -o util.o
gcc -O2 -Wall -DCURSES_LOC="<ncurses.h>" -I. -c msgbox.c -o msgbox.o
cp zconf.tab.c_shipped zconf.tab.c
cp lex.zconf.c_shipped lex.zconf.c
gcc -O2 -Wall -I. -c zconf.tab.c -o zconf.tab.o
gcc  mconf.o checklist.o menubox.o textbox.o yesno.o inputbox.o util.o
msgbox.o zconf.tab.o -o mconf -lncurses
make[1]: Leaving directory `/tmp/uc/extra/config'
#
# using defaults found in extra/Configs/Config.default
#


*** End of uClibc configuration.
*** Check the top-level Makefile for additional configuration options.

>
>Relatively to 'extra/config' , '../../.config' is in the top directory.
>But there's nothing in there:

polluted env? Please paste your $ env
somewhere. Double check against git grep getenv\(
>    $ ls -A
>    bin  BugFinders  ChangeLog  DOCUMENTATION  extra  .git  .gitignore
>    include  INSTALL  Makefile  README  Rules.mak  scripts  src  tests  TODO
>    $ find . -name .config
>    [zilch]
>
>But if I touch the file first, it works:
>    $ touch .config
>    $ make menuconfig
>    [OK, I get the menuconfig!]
>
>Using make-3.82 here on a Debian squeeze x86_64.

i'm on current sid and it works fine, fwiw. Unrelated i suppose.

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to