Home » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » "too many sections" error with MinGW
Re: "too many sections" error with MinGW [message #52886 is a reply to message #52885] |
Thu, 02 January 2020 15:46  |
 |
koldo
Messages: 3443 Registered: August 2008
|
Senior Veteran |
|
|
Well, finally I have got the problematic file and I have applied in its "Additional compiler options for the file" in "Package organizer", the options Wa,-mbig-obj -Os (both) for MinGW, and /bigobj for MSVC.
A relevant detail is that in MinGW it was useless to apply these options to the package, as in c++ argument list, the option order is more or less:
1. Package options
2. General options
3. File options
and -O0 (General option) would be after -Os (Package option), so the later would prevail.
Best regards
IƱaki
|
|
|
Goto Forum:
Current Time: Mon Aug 25 11:48:43 CEST 2025
Total time taken to generate the page: 0.04870 seconds
|