Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SDL programming question
#4
Untradeable Wrote:Maybe hes doing it in x86 so that it would be backwards compatable with a 32 bit operating system?
This is the most likely reason. It saves the trouble of building a both a 32-bit and 64-bit version. Another possible reason to compile as x86 instead of x64 is that you may be using some libraries that you only have in 32-bit form.

You know which .lib files to use because the documentation of the library you're using tells you. Of if that fails, you guess and see if you get linker errors.

A linker takes multiple object files and static libraries and combines them into a single file. In conventional C or C++, each .c or .cpp file creates an object file when compiled.
Reply


Messages In This Thread
SDL programming question - by Haseo - 2012-04-27, 04:58 AM
SDL programming question - by Untradeable - 2012-04-27, 09:11 AM
SDL programming question - by Locked - 2012-04-27, 03:03 PM
SDL programming question - by Spaz - 2012-04-27, 08:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)