elf of jpeg code to the microblaze

Aug 08, 2011 1 Replies

Hello I want to compile rhe jpeg code for the microblaze processor. So i download the gnu tool for the microblaze ( i follow this

formatting link



I use a ubunto machine to compile i use the command: mb-linux-gcc timer.cpp jpge.cpp jpgd.cpp tga2jpg.cpp



So that i obtain the file a.out. So what is the command to use now to have the executable file. Thanks in advance.


--------------------------------------- Posted through

formatting link


You need to call the compiler with a flag to the linker to use a linker command file that is specific to the Microblaze installation that you have in your FPGA. It needs to call out ROM and RAM areas, and specify whatever segments your code and libraries need to have specified.

The best way to get this is to probably start with an example project that uses the tools, then figure out how to rip out the c files that are in there and replace them with your own.

www.wescottdesign.com

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required