[okl4-developer] build system usage
Oliver Mayer-Buschmann
omb at opensynergy.com
Thu Oct 23 19:36:07 EST 2008
Hi,
I'm trying to link a program to a specific virtual address.
can somebody post a working method to do so?
I've tried to use WeaverAddressing in my SConsrcipt, but after defining
a virtual address,
the corresponding ELF-Image is not created and the build terminates
with:
[VIRT] build/sam9263/iguana/bin/event.linkaddress
scons: ***
[build/sam9263/iguana/bin/event.linkaddress] /home/oliver/Development/openSynergy/okl/coqos/project/build_artefacts/okl4/build/sam9263/iguana/bin/omb_testapp: No such file ordirectory
Declaring a fixed address for each program would just be a first
workaround for me. My goal is to have a set of applications linked
automatic up from a base address, let's say defined in my machines.py.
I've had a first look at LayoutVirtual() and I plan to implement a
separate method to do similar work for me, e.g. link every program of
the additional set with an consecutive offset of 1M, up from this base
address.
Next problem is the way the build system works.
Building targets is deeply stashed inside the SCons-World.
Can somebody give me a clue, how I can accomplish a second link-run
for the additional set of applications:
I do not need to create a second weaver.xml, nor a merged image, no
bootinfo, etc.
I just want to use the build system, to create me these elf files.
Can I create a second KengeEnvironment for doing this?
Some basic information of how a build is structured would help, too.
Thanks,
Oliver
More information about the Developer
mailing list