[QBS] qbs and Altera NIOS toolchain
Stephan Gatzka
stephan.gatzka at gmail.com
Sun Jul 12 17:16:23 CEST 2015
> If You don't find any cpp module property, e.g. linkerFlags for abuse,
Well, no, linkerFlags are evaluated after the input objects, so too late.
> You
> could write a shell wrapper script as a replacement for nios2-g++. That
> script calls nios2-g++ and either inserts -msys-crt='crt0.o' hardcoded
> before passing the others arguments or re-arranges all command line
> arguments according to Your needs. In the latter case You provide
> -msys-crt=XY via cpp.linkerFlags and use the wrapper script to move it to
> the desired position.
Yes, I think that's the way to go.
Regards,
Stephan
More information about the Qbs
mailing list