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 #49185 is a reply to message #49169] Wed, 03 January 2018 22:03 Go to previous messageGo to previous message
Zbych is currently offline  Zbych
Messages: 326
Registered: July 2009
Senior Member
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.

[Updated on: Wed, 03 January 2018 22:36]

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: Thu May 02 14:55:06 CEST 2024

Total time taken to generate the page: 0.02420 seconds