Compatibillity

fergy
Developer
Beiträge: 93
Registriert: Dienstag 13. September 2005, 15:30

Compatibillity

Beitrag von fergy »

GCC 4.3.2
Glibc 2.7
Linux 2.6.26


Everything OK except Glibc problem:
Detail from log:

Code: Alles auswählen

checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
Makefile:

Code: Alles auswählen

	@PREPARE_glibc@
	rm -f $(buildprefix)/linux/include/asm
	ln -s $(buildprefix)/linux/include/asm-powerpc $(buildprefix)/linux/include/asm
	cd @DIR_glibc@ && \
	echo "libc_cv_forced_unwind=yes" > config.cache && \
	echo "libc_cv_c_cleanup=yes" >> config.cache && \
	echo "libc_cv_mlong_double_128=yes" >> config.cache && \
	echo "libc_cv_alpha_tls=yes" >> config.cache && \
	$(BUILDENV) \
	LDFLAGS=-L$(targetprefix)/lib \
	CPPFLAGS="-I$(buildprefix)/linux/arch/ppc" \
	CFLAGS="$(TARGET_CFLAGS) -I$(buildprefix)/linux/arch/ppc" \
		CC=$(target)-gcc \
		AR=$(target)-ar \
		RANLIB=$(target)-ranlib \
		CFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		@CONFIGURE_glibc@ \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--with-headers=$(buildprefix)/linux/include \
			--disable-sanity-checks \
			--cache-file=config.cache \
			--with-march=$(CPU_MODEL) \
			--disable-profile \
			--enable-shared \
			--enable-add-ons=nptl \
			--with-__thread \
			--without-fp \
			--with-tls && \
		$(MAKE) all && \
		@INSTALL_glibc@
	@CLEANUP_glibc@
Any idea?
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: Compatibillity

Beitrag von rhabarber1848 »

check cdk/glibc-2.3.6/config.log for errors details.

I am using Debian Lenny with

gcc version 4.3.2 (Debian 4.3.2-1)
GNU C Library stable release version 2.7
Compiled by GNU CC version 4.3.2.
Compiled on a Linux >>2.6.26.1<< system on 2008-10-13.

seeing no problems with compilation.