FastOlympicCoding icon indicating copy to clipboard operation
FastOlympicCoding copied to clipboard

Compilation error in MacOS

Open utkarshyashvardhan11 opened this issue 5 years ago • 1 comments

It was working fine with clang. But then I installed gcc. Now it shows the following compilation error

ld: unknown option: --stack=268435456 collect2: error: ld returned 1 exit status

Please tell me what to do to tackle this problem.

utkarshyashvardhan11 avatar Sep 27 '20 14:09 utkarshyashvardhan11

Try to copy paste the compile command to the terminal and check if it is working there.

Also, what have you used to install gcc?

Jatana avatar Sep 28 '20 22:09 Jatana