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 » Community » Coffee corner » Compile to 32 bit on Linux 64 bit
Re: Compile to 32 bit on Linux 64 bit [message #49204 is a reply to message #49185] Sun, 07 January 2018 14:20 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1207
Registered: March 2006
Location: Italy
Senior Contributor
Zbych wrote on Wed, 03 January 2018 22:03
forlano wrote on Sat, 30 December 2017 17:12

has anybody tried to compile a U++ program for 32 bit from a 64 bit machine?
What package should I install?


I did - just simple console app (no GUI) and all I had to install was some multilib package.
I found in my notes for ubuntu 14.04:
sudo apt-get install gcc-multilib
sudo apt-get install gcc-4.9-multilib g++-4.9-multilib
sudo apt-get install gcc-5-multilib g++-5-multilib

And don't forget to add -m32 to compiler options.


Hello Zbych,

thanks for the answer. Can you post the .bm file you have used to compile the U++ package?
I have installed multilib and used -m32 option but still getting complain from the compiler.
Perhaps even the .h and lib used should be addressed properly.

thanks,
Luigi

[Updated on: Sun, 07 January 2018 14:21]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Windows Meltdown patch and compilation speed
Next Topic: Interesting future feature, Radeon ProRenderer?
Goto Forum:
  


Current Time: Mon Jun 09 09:12:42 CEST 2025

Total time taken to generate the page: 0.04366 seconds