I'm trying to compile oRTP for MicroBlaze and it is turning me quite difficult. The installation guide of oRTP is quite simple but it does not say clearly how to compile with a cross-compiler.
The standard installation is the following one:
-Type ./configure to generate the makefile -Make -Make install -Compile uClinux with oRTP
The problem is that just typing configure is insufficent to generate a make file that works properly. Among other things the makefile has not romfs section. In addition when I compile uClinux the binary files generated are in ELF format.
As I have understand till now there are two options to cross-compile oRTP (or another application):
The first one:
Type ./configure
Create manually romfs section.
Add
-Wl,-elf2flt
to the final link line of my build
Compile uClinux
The second one:
Extend ./configure command providing correct options like cross compilation tool directory and
stuff. I have tried different options providing some parameters:
CC, CFLAGS, TARGET, CPP, CXX, PREFIX
According to the installation guide of oRTP the only parameter that is necessary to specify when we use a cross-compiler is TARGET.
I have not obtained anything.
My questions are the following ones:
It is correct that I can compile oRTP of both mentioned forms?
With regards to the second option, someone can me specify exactly what parameters I must specify exactly?