[ros-dev] rbuild question

Filip Navara xnavara at volny.cz
Sun Oct 23 11:58:54 CEST 2005


Hartmut Birr wrote:

> Hi,
>
> for a sample program, I have to specify a linker script file. I'm 
> using the following xml-file:
>
> <module name="lowalign" type="win32cui" installbase="bin" 
> installname="lowalign.exe">
>     <include base="lowalign">.</include>
>     <define name="__USE_W32API" />
>     <file>lowalign.c</file>
>     <linkerflag>-Wl,-T,modules/myapps/lowalign/ldscript</linkerflag>
>     <linkerflag>-Wl,--file-alignment=0x80</linkerflag>
>     <linkerflag>-Wl,--section-alignment=0x80</linkerflag>
> </module>
>
> I would like it if I can remove the absolute path from the linker 
> script file. Any ideas?

It's a bit off-topic, but why do you need a linker script for making low 
alignment executables? I fixed the default binutils script quite some 
time ago to work with alignment < PAGE_SIZE.

- Filip


More information about the Ros-dev mailing list