[uClibc]toolchain gcc-3.1

Erik Andersen andersen at codepoet.org
Mon Jul 22 14:49:29 UTC 2002


On Mon Jul 22, 2002 at 08:01:09AM +0200, Claus Rosenberger wrote:
> whats the right settings to compile ncurses with the toolchain ?
> 
> 1. i compiled and installed into /usr/local/src/gcc-3.1/toolchain
> 2. i set /usr/local/src/gcc-3.1/usr/bin to the beginning of path-var
> 3. i decompressed ncurses to /usr/local/src/gcc-3.1/build/ncurses...
> 4. i run "configure --prefix=/usr/local/src/gcc-3.1/toolchain/usr"
> 5. i got an error "make[1]: *** [../objects/cursesw.o] Error 1"
> 
> what i made wrong ?

I dunno.  The example I pointed you to works for me.  Can you 
grab a copy of buildroot via CVS and try it?

Go to http://uclibc.org/cgi-bin/cvsweb/buildroot/ and click on
the "Download tarball" link.  Then unpack the tarball and edit
the Makefile so that "TARGETS" also includes "ncurses" and then
run "make" and it will compile up ncurses.  And if you have
edited the Makefile to set "USE_UCLIBC_TOOLCHAIN=true" it will
even compile up a full uClibc toolchain for you (instead of the
default toolchain wrapper).

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list