[Scummvm-tracker] [ScummVM :: Bugs] #10962: COMPILER: Configuring with -flto errors out on finding a suitable compiler (AmigaOS4)
ScummVM :: Bugs
trac at scummvm.org
Fri May 17 13:28:54 CEST 2019
#10962: COMPILER: Configuring with -flto errors out on finding a suitable compiler
(AmigaOS4)
----------------------+--------------------
Reporter: raziel- | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Common
Resolution: | Keywords:
Game: |
----------------------+--------------------
Comment (by raziel-):
{{{g++ -std=c++11 -athread=native -Wl,-no-keep-memory -flto
-L/sdk/local/newlib/lib tmp_cxx_compiler.cpp -o tmp_cxx_compiler}}}
Development:Coding/SDK/gcc/ppc-amigaos/bin/ld: -f may not be used without
-shared
Compiling with -shared in place makes it build.
{{{g++ -std=c++11 -athread=native -Wl,-no-keep-memory -flto -shared
-L/sdk/local/newlib/lib tmp_cxx_compiler.cpp -o tmp_cxx_compiler}}}
But i don't really understand why. I (try) to compile everything static.
Output file is 123.040 bytes, if that helps
--
Ticket URL: <https://bugs.scummvm.org/ticket/10962#comment:7>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list