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 » Help!!! Building 32 bit apps on Ubuntu64 (Help!!! Building 32 bit apps on Ubuntu64)
Help!!! Building 32 bit apps on Ubuntu64 [message #49796] Tue, 08 May 2018 04:35
mayduavongts is currently offline  mayduavongts
Messages: 2
Registered: May 2018
Location: Viet Nam
Junior Member
As it costed me some effort to find it out how to do it, I'll post the results here, just in case somebody needs it Smile

1) Create a new build method, naming it, for example, GCC32

2) Copy ALL settings from GCC build method to the newly created one (ALL, including include directories, flags, etc).
You can omit the LIB directories point, see later

3) Install IA32-LIBS package, it's available on repo. You'll still miss some libs... in particular this damn'd libnotify which costed me some effort.

4) Using getlibs command (install it from repo), install libnotify 32 bit library. You may need also libdbus-1 and libdbus-glib-1, I don't remember if I had them already installed or they were in IA32-LIBS repo. If you still get linker error after last point, just install them with getlibs.

5) in GCC32 build method, Add the following :

in "Debug options" add "-m32" (without quotes !)
in "Optimize for speed" add "-m32" (without quotes !)
in "Optimize for size" add "-m32" (without quotes !)
in "Debug link options" add "-ldbus-glib-1"
in "Release link options" add "-ldbus-glib-1"

wipe all contents of "LIB Directories" and put there these 2 lines :
/lib32
/usr/lib32

 
Read Message
Previous Topic: Simple trick to have have bot JSON and XML for a class
Next Topic: Kqueue/epoll based interface for TcpSocket and WebSocket
Goto Forum:
  


Current Time: Thu Mar 28 21:07:33 CET 2024

Total time taken to generate the page: 0.01055 seconds