Thread: Real Game Coding

  1. #16
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    We use Visual Studio at work for XBOX and PC development.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  2. #17
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    I thought you had to have a seperat compilar to compile programms to work on - say the ps2, or maby just another set of libraries
    no, you use the same compilers for PS2 and XBOX as you would any other program, you just use different libraries. You must have the PS2 SDK to develop for the ps2, and the same is such for xbox and other console platforms.
    My Website

    "Circular logic is good because it is."

  3. #18
    So are you saying that if you make a program in MSVC++ that you could run it on a Apple II or Atari? Nope. You need a seperate compiler that is built to make executable files for that platform. You COULD use a cross-compiler too. It would have to have support for whatever platform you are developing on. XBox basically is the same thing as a PC with windows loaded.

  4. #19
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    fry, you're wrong here. If you just told the compiler to use different libraries, it could compile for whatever system you told it to.

  5. #20
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Nope. Try making MSVC compile a program that works on a Mac or on Linux. Without using a Windows emulator, btw.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  6. #21
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    No crap it ain't gonna work. That's because MSVS is using windows libraries. I wonder why? It's only a windows compiler ya know. However, if you told it to use only Mac libraries or only linux libraries, the compiled app would run on the Mac/Linux and not on windows.

  7. #22
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    You would never be able to get MSVC to compile for Mac or Linux, no matter what libraries you told it to use.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  8. #23
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    Why's this?

  9. #24
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    We use MSVC for all our comercial apps.


    >>You would never be able to get MSVC to compile for Mac or Linux, no matter what libraries you told it to use.

    I've made simple app's in C that work on Linux (and in MS OS's) in MSVC. Never tried for MAC.

  10. #25
    Since when does MSVC output ELF or a.out executables that are built against Glibc? Libraries are not the issue here, it is executable formats.

  11. #26
    Registered User rahaydenuk's Avatar
    Join Date
    Jul 2002
    Posts
    69
    As far as I'm aware the MS linker only outputs PE (portable executable) COFF files, which will only run on Win32 O/S's or others which support this executable file format. I didn't think that either Linux nor Macs supported it.

    Regards,
    Richard Hayden. ([email protected])
    Webmaster: http://www.dx-dev.com
    DXOS (My Operating System): http://www.dx-dev.com/dxos

    PGP: 0x779D0625

  12. #27
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    Actually, yes. But theoretically, if the correct libraries were used, the output format could be whatever the libraries displayed.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 05-09-2009, 08:37 PM
  2. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  3. So you want to be a game programmer?
    By dxfoo in forum Game Programming
    Replies: 23
    Last Post: 09-26-2006, 08:38 AM
  4. %16 with double
    By spank in forum C Programming
    Replies: 11
    Last Post: 03-05-2006, 10:10 PM
  5. Game Programmer's AIM Circle: Join Today
    By KingZoolerius66 in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 12-20-2003, 12:12 PM