Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
40 user(s) are online (31 user(s) are browsing Forums)

Members: 0
Guests: 40

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: LTO in AmigaOS4 gcc

Subject: Re: LTO in AmigaOS4 gcc
by Raziel on 2019/5/17 11:47:18

@kas1e

Maybe because you use it to cross compile while i do native builds?
Maybe you use a slightly different toolchain than me?

@all

Can someone shed some light please.

I have broswed the GNU linker manual and stumbled over this:
Quote:

-static
Do not link against shared libraries. This is only meaningful on platforms for which shared libraries are supported. The different variants of this option are for compatibility with various systems. You may use this option multiple times on the command line: it affects library searching for -l options which follow it. This option also implies --unresolved-symbols=report-all. This option can be used with -shared. Doing so means that a shared library is being created but that all of the library's external references must be resolved by pulling in entries from static libraries.


Since i'm trying to avoid shared/dynamic builds, what does that mean regarding the usage of -flto?
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project