Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Building 32 bit apps on Ubuntu64
Re: Building 32 bit apps on Ubuntu64 [message #29346 is a reply to message #29195] Fri, 15 October 2010 18:39 Go to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
I made a couple more experiments with building of 32 bit executables on 64 bit Linux and it turned out that "-m32" option with compiler and "-ldbus-glib-1" option with linker are not necessary. It is just enough to choose a GCC32 builder. I haven't had any linking issues so far and there is no redundant dependency on dbus-glib-1.so.2 in console applications.

My release builder options look like below.

Optimize for speed: -O3 -ffunction-sections -fdata-sections
Optimize for size: -Os -finline-limit=20 -ffunction-sections -fdata-sections
Release link options: -Wl,--gc-sections


Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Working on new installer / makeinstall...
Next Topic: Porting SystemDraw to Frambuffer
Goto Forum:
  


Current Time: Thu May 09 16:42:34 CEST 2024

Total time taken to generate the page: 0.01875 seconds