elf of jpeg code to the microblaze

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

Reply to
system85
Loading thread data ...

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
Reply to
Tim Wescott

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.