codeforces uses this command to compile C++ Codes g++ -Wall -Wextra -Wconversion -static -DONLINE_JUDGE -Wl,--stack=268435456 -O2 -std=c++20 <source>
. When I am using this command on my Macbook Air M1, it's giving me the error unknown option: --stack=268435456
. Can anyone tell me how do I increase the stack size for c++ codes during compilation on a Macbook, I am using gcc-homebrew 11.2.0
My compilation code is g++ -Wconversion -Davik_local -Wl,--stack=268435456 -O2 -std=c++20
Thank You!