[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Test application compile error



Hi Pavel,

I assume the error is "ELF: not found".
I just found there is another difference between your makefile and mine,
$(HELLO): $(HELLO_OBJS)
      $(CC) $(LDFLAGS) -o $@ $(HELLO_OBJS) $(LDLIBS)

The blue $(LDLIBS) )indicate the difference.
Read this thread:
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/07/msg00085.html 


Maybe this is also the reason cause the previous error.


Regards,

Jason


Pavel Ivanchenko wrote:

Hi, Jason
 
When I correct CC, it successfully make, but when I copy it to my board and try execute, have "ELFOOO: not found" message. I try any cases CFLAGS (without, with default, with my), result don't change.
I use microblaze-elf-tools-2005112.
 
Pavel.
----- Original Message -----
From: Jason Wu
Sent: Sunday, January 08, 2006 4:28 PM
Subject: Re: [microblaze-uclinux] Test application compile error

Hi Pavel

If you are doing out of tree compile. Try set "CC = $(ROOTDIR)/tools/ucfront/ucfront mb-gcc" see if this fix your problem.

p.s
I don't have "AR=mb-ar" and  "CFLAGS = -mno-xl-soft-mul -mno-xl-soft-div" in my makefile. I am using latest mb-gcc tool-chain

Regards,

Jason