[uClinux-dev] could you lend me a hand? I can not cross-compile libgpg-error libgcrypt for my arm-clinux system.

lmzhang zhangl at yztech.com.cn
Thu Oct 20 22:44:20 EDT 2005


hi , 
  
    I want to cross-compile libgpg-error,libgcrypt for my uclinux with a
ARM9 which is nommu. 

###################################
CONFOPTS :=	--enable-dependency-tracking \
		--prefix=$(ROOTDIR)/lib/libgpg-error/inst

all: build/build
	$(MAKE) -C build install

build/build: makefile
	@chmod u+x configure
	@rm -rf build
	@mkdir build
	(cd build; ../configure --host=$(CROSS_COMPILE:-=) $(CONFOPTS))
	@touch build/build

clean:
	rm -rf build
#####################################

I run the config following ...

mkdir build;cd build;../configure --host=arm-elf $(CONFOPTS) ,
there are some erros,such as" arm-elf-gcc can not execute... ,arm-elf-gcc cannot compute..."
meanly, my arm-elf-gcc 2.95.3 can not create a.out by runing "arm-elf-gcc -c conftest.c".

there is same problem while I compile the libgcrypt-1.2.1....

so can you give me some ideas to help me out.
thanks a lot in advance for any help.



-- 
lmzhang <zhangl at yztech.com.cn>




More information about the uClinux-dev mailing list