[QBS] Using --start-group and --end-group

Tim Hutt tdhutt at gmail.com
Thu Oct 29 09:09:06 CET 2015


Hi,

Currently in my QBS file for an mBed compile I have this:

cpp.staticLibraries: [

		"stdc++",

		"supc++",

		"m",

		"gcc",

		"c", // libc really must be included twice, and before nosys.

		"c",

		"nosys",

	]


It took me a while to work out that I needed libc twice (GCC is mad), and I
suspect the correct way to fix this is through the use of the linker's
--start-group and --end-group options.

Is there any way to group static libraries using --start-group and
--end-group in QBS?

Cheers,

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20151029/fcbbb074/attachment.html>


More information about the Qbs mailing list