[Scons-users] StaticLibrary problems

Edwin H. Bielawski scons at draco.prima.de
Thu Aug 29 07:07:53 EDT 2024


Hello,

I have problems creating a static library with a large number of files.
It seems that the list has to be completely passed via the command line, which Windows unfortunately acknowledges this with “line too long”.
I can pass this to the GNU AR tool as a file, but this does not help because the object files are not generated if they are not specified within the command.
env.StaticLibrary("mylib", ['main.cpp'])

Are there any workarounds?

Regards
Edwin H. Bielawski

$ scons --version
SCons by Steven Knight et al.:
SCons: v4.3.0.559790274f66fa55251f5754de34820a29c7327a, Tue, 16 Nov 2021 19:09:21 +0000, by bdeegan on octodog
SCons path: ['c:\\dev\\programs\\python3x_64\\lib\\site-packages\\SCons']
Copyright (c) 2001 - 2021 The SCons Foundation



More information about the Scons-users mailing list