[ros-dev] rbuild question
Royce Mitchell III
royce3 at ev1.net
Sun Oct 23 02:30:52 CEST 2005
This would require a semi-major feature addition to rbuild, but
shouldn't be too difficult.
Here's an idea of how we could do it that would give some flexibility:
<linkerflag>-Wl,-T,%lowalign.path.src%/ldscript</linkerflag>
and you could also do this (referring to the current module):
<linkerflag>-Wl,-T,%module.path.src%/ldscript</linkerflag>
Here's another way to do it that would be more consistent with the
current design:
<linkerfile base="lowalign" prefix="-Wl,-T,"
postfix="">ldscript</linkerfile>
Thoughts anyone?
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?
>
> - Hartmut
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev
>
> .
>
More information about the Ros-dev
mailing list