elf of jpeg code to the microblaze

S

system85

Guest
Hello
I want to compile rhe jpeg code for the microblaze processor.
So i download the gnu tool for the microblaze ( i follow thi
http://xilinx.wikidot.com/mb-gnu-tools)
I use a ubunto machine
to compile i use the command: mb-linux-gcc timer.cpp jpge.cpp jpgd.cp
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 http://www.FPGARelated.com
 
On Mon, 08 Aug 2011 06:52:40 -0500, system85 wrote:

Hello
I want to compile rhe jpeg code for the microblaze processor. So i
download the gnu tool for the microblaze ( i follow this
http://xilinx.wikidot.com/mb-gnu-tools) 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.
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
 

Welcome to EDABoard.com

Sponsor

Back
Top