LLVM_VERSION = 11 #LINK_FLAGS_bak =\ # -nostartfiles \ # --nostdlib \ # --nostdinc \ # --print-map\ # --initial-memory= \ # --allow-undefined-file= # --initial-memory=65536 # --export-all Export all symbols (normally combined with --no-gc-sections) # --export-dynamic Put symbols in the dynamic symbol table # --export-table Export function table to the environment # --export= Force a symbol to be exported # --fatal-warnings Treat warnings as errors # --import-memory Import memory from the environment # --import-table Import function table from the environment # --initial-memory= # Initial size of the linear memory # --lto-O Optimization level for LTO # --lto-partitions= # Number of LTO codegen partitions # -L Add a directory to the library search path # -l Root name of library to use # --max-memory= Maximum size of the linear memory # --merge-data-segments Enable merging data segments # --mllvm Options to pass to LLVM # --pie Create a position independent executable # --print-gc-sections List removed unused sections # --relocatable Create relocatable object file # --shared-memory Use shared linear memory # --shared Build a shared object # --stack-first Place stack at start of linear memory rather than after data # --strip-all Strip all symbols # --strip-debug Strip debugging information # -S Alias for --strip-debug # -s Alias for --strip-all # --thinlto-cache-dir= # Path to ThinLTO cached object file directory # --thinlto-cache-policy= # Pruning policy for the ThinLTO cache # --thinlto-jobs= Number of ThinLTO jobs # --threads Run the linker multi-threaded # --undefined= Force undefined symbol during linking # --verbose Verbose mode # --version Display the version number and exit # -z