Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [Linux] 32 bit version, using 64 bit linux  (Read 2336 times)

0 Members and 3 Guests are viewing this topic.

santiaboy

  • Full Member
  • ***
  • Posts: 118
    • View Profile
[Linux] 32 bit version, using 64 bit linux
« on: September 16, 2013, 05:25:37 am »
Hey guys, I've realized that as I have 64 bit Linux, I am using the 64bit version of SFML. I was wondering, the game compiled in 64 bits, it won't run on 32 bit computers right?

I know that in windows you choose which platform you want to compile for, not which OS version you have. However, I do not know if it's the same way in Linux.

I want to reach the most people as possible, so I would like that the game runs nicely in every version (32 and 64)

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
AW: [Linux] 32 bit version, using 64 bit linux
« Reply #1 on: September 16, 2013, 11:13:05 am »
Yes 32bit systems won't be able to run 64bit applications.
On Linux you should simply be able to add an -m32 flag and get a 32bit build.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: AW: [Linux] 32 bit version, using 64 bit linux
« Reply #2 on: September 16, 2013, 12:19:35 pm »
On Linux you should simply be able to add an -m32 flag and get a 32bit build.
Well, it's not that simple. You also have to get 32 bit versions of the library dependencies such as GLEW.

Are there many people still using 32 bit Linux?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Lo-X

  • Hero Member
  • *****
  • Posts: 618
    • View Profile
    • My personal website, with CV, portfolio and projects
Re: AW: [Linux] 32 bit version, using 64 bit linux
« Reply #3 on: September 16, 2013, 05:59:25 pm »
Are there many people still using 32 bit Linux?

I do but for tests or cross compiling purposes only :p

santiaboy

  • Full Member
  • ***
  • Posts: 118
    • View Profile
Re: AW: [Linux] 32 bit version, using 64 bit linux
« Reply #4 on: September 16, 2013, 09:25:04 pm »
Are there many people still using 32 bit Linux?

I have NO idea. I just wanted to reach to as many people as possible. I'll see if I can make it work with the -m32 and the correct library dependencies. Otherwise: NOT COMPATIBLE WITH 32 BIT LINUX.

Thanks for the answers!