On 09/18/2013 07:29 PM, Drasko DRASKOVIC wrote:
> Hi all,
> regarding chapter 3.4. Building for ARM here:
> http://www.xenomai.org/documentation/xenomai-2.6/html/README.INSTALL/
> we should configure like :
>
> $xenomai_root/configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" \
> --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi-
>
> I wanted to know if CFLAGS and LDFLAGS are needed only for compile
> time, or maybe later for runtime also?
You only need to pass these flags if you are using a generic multilib
compiler such as Mentor sourcery codebench. If you are using a compiler
specially built for your target, you do not need to pass any flags.
However, I would be surprised if:
- it was not possible to pass spaces in CFLAGS, maybe ' works instead of "
- the rules for building Xenomai with Yocto did not exist somewhere.
--
Gilles.
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai