Post Reply

[DEV] [GUIDE] [LINUX] Comprehensive Guide to Cross-Compiling

OP JustArchi

21st December 2014, 01:31 PM   |  #21  
Senior Member
Thanks Meter: 5,538
1,247 posts
Join Date:Joined: Aug 2010
Donate to Me
Thanks so much for this Archi. This method seems to create the most portable and yet dynamic binaries.

Maybe all those Linux developers can enter this space now

Could do with some portable binary packages at Botbrew.

BTW I've sometimes found the following handy:

OPTICFLAGS="-s -flto=8 -ffunction-sections -fdata-sections -fvisibility=hidden -funswitch-loops -frename-registers -frerun-cse-after-loop -fomit-frame-pointer -fgcse-after-reload -fgcse-sm -fgcse-las -fweb -ftracer -fstrict-aliasing -fpic -pie"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--relax -Wl,--sort-common -Wl,--gc-sections -llog"
and the

commmand alone magically does the entire job if there's a good in the source package.
Last edited by idcrisis; 5th January 2015 at 06:38 AM.
26th February 2015, 10:29 PM   |  #22  
Thanks Meter: 5
51 posts
Join Date:Joined: Sep 2013
Hi! Can you post your script somewhere else? Dropbox says the content is locked due to large number of requests.

You can create a Github Gist and post link.
28th February 2015, 12:20 AM   |  #23  
skulldreamz's Avatar
Senior Member
Flag Baltimore
Thanks Meter: 776
871 posts
Join Date:Joined: Mar 2012
Donate to Me
On page 2 he already did that
Post Reply Subscribe to Thread

justarchi cross compiler compiling guide
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes