Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
[solved] What are the possible reasons those plugins are much larger?
stahta01:
--- Quote from: PB on December 25, 2023, 07:13:36 pm ---
--- Quote from: stahta01 on December 25, 2023, 06:10:09 pm ---Having sh.exe in the path while building wxWidgets will cause the build to fail.
--- End quote ---
This should be avoidable with a SHELL build parameter, e.g.
--- Quote ---mingw32-make -f makefile.gcc SHARED=1 BUILD=release SHELL=cmd.exe
--- End quote ---
--- End quote ---
CB requires monolithic build normally; and that fails most of the time when that option is used; I am guessing the command line is too long.
It has been over 3 years since I last tried it.
Tim S.
PB:
--- Quote from: stahta01 on December 25, 2023, 07:22:09 pm ---[CB requires monolithic build normally; and that fails most of the time when that option is used; I am guessing the command line is too long.
--- End quote ---
Just for the record, Windows allows a command line length of about 8 kB.
This should be more than enough to build wxWidgets in any reasonable configuration, monolithic or not; I mean when calling the mingw make.
AFAIK, wxWidgets internally uses response files to work around the command line length limit when compiling its files.
Navigation
[0] Message Index
[*] Previous page
Go to full version