Jump to content

[Important] Linking error under Linux


Recommended Posts

Depending on the GCC version that you are using you might encounter a linking error when building an uGFX project under Linux. This is due to a very well known bug in one of the latest versions of GCC. To bypass this problem, simply disable the LTO feature. When you're using our Makefiles you can just set the OPT_LINK_OPTIMIZE macro to no:


OPT_LINK_OPTIMIZE = no

This will produce a slightly larger binary but on a Linux enviornment this shouldn't be that much of a problem.

~ Tectu

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...