John, The makefiles are pretty complicated. I will attach them here, though I doubt anyone will have the patience to go through them. Summary of the makefiles: 1) Makefile make use of FLTFLAGS in the linking stage, and basically it says how to link the object files. You might want to search for "echo Linking" to go directly to the linking part. 2) FLTFLAGS+=-v is defined in microblaze.mk 3) In rules.mk, it says how to compile the object files. Am I missing something in the makefile, such as invoking mb-elf2flt? There is a tutorial on binary flat format: http://www.beyondlogic.org/uClinux/bflt.htm Anyone knows what the criterion is for the code to go into either .text segment or relocations segment? Thanks Victor -----Original Message----- From: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John Williams Sent: Wednesday, June 27, 2007 6:29 PM To: microblaze-uclinux@xxxxxxxxxxxxxx Subject: Re: [microblaze-uclinux] uclinux memory exhausted, unable to allocate RAM Hi Victor, > Yeah, I added FLTFLAGS+=-v to my makefile. However, my makefile is not using the FLTFLAGS anywhere. I am not calling mb-elf2flt anywhere too. > > In fact, I am not sure where to add the FLTFLAGS thingy. Can you please post the app Makefile? John ___________________________ microblaze-uclinux mailing list microblaze-uclinux@xxxxxxxxxxxxxx Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
Attachment:
rules.mk
Description: rules.mk
Attachment:
microblaze.mk
Description: microblaze.mk
Attachment:
Makefile
Description: Makefile