[uClibc]A try to build Python with uclibc but ...

Erik Andersen andersen at codepoet.org
Wed Jan 2 13:19:56 UTC 2002


On Sun Dec 30, 2001 at 06:14:41PM +0100, tsialpha3i at voila.fr wrote:
> Hello,
> 
> I try to build Python with uclibc but i face 2 problemes i don't understand.
> 1 - When in run ./configure it goes but i get a core dump :-(
> Not good isn'it ?
> 2 - When i make i get these error, that i don't unsderstand.
> 
> [root at localhost Python-2.2a4]#make
> gcc -c -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DHAVE_CONFIG_H  -o Modules/python.o Modules/python.c

Which gcc is this?  I suspect things are getting mixed up.
Try doing something like this:

	cd $(PYTHON_DIR); 
	CC=$(BUILD_DIR)/usr/bin/$(ARCH)-uclibc-gcc \
	    ./configure --prefix=/usr --disable-nls --disable-<stuff>
	make CROSS_COMPILE="$(BUILD_DIR)/usr/bin/$(ARCH)-uclibc-"

i.e. don't use 'gcc' use '<arch>-uclibc-gcc' instead. 

 -Erik

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



More information about the uClibc mailing list