Thread: 16 bit compilar or 32 bit compilar

  1. #16
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by matsp View Post
    Oh, sure - but OP asked if it was possible to EMULATE 16-bit on a 32-bit [or 64-bit] Linux + gcc environment.

    --
    Mats
    To be accurate it was "Is it possible to emulate 16 bit compiler or 32 bit compiler in linux environment by using gcc ?"

    I took this to mean, is there some kind of gcc switch that compiles into a 16-bit executable format instead of 32-bit format.

  2. #17
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by cpjust View Post
    To be accurate it was "Is it possible to emulate 16 bit compiler or 32 bit compiler in linux environment by using gcc ?"

    I took this to mean, is there some kind of gcc switch that compiles into a 16-bit executable format instead of 32-bit format.
    If you interpret the question that way [and I see no reason NOT to interpret it that way, I just didn't do that], then you are correct - it's not possible. To do that, you need a proper 16-bit compiler.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. counting 16 bit number from a buffer
    By baccardi in forum C Programming
    Replies: 4
    Last Post: 02-20-2009, 03:28 PM
  2. 16 bit or 32 bit
    By Juganoo in forum C Programming
    Replies: 9
    Last Post: 12-19-2002, 07:24 AM
  3. 32 bit or 16 ???
    By GiraffeMan in forum C Programming
    Replies: 11
    Last Post: 04-24-2002, 12:56 PM
  4. 16 Bit Compiler
    By Jperensky in forum C Programming
    Replies: 5
    Last Post: 03-29-2002, 03:08 PM
  5. 16 bit colors
    By morbuz in forum Game Programming
    Replies: 13
    Last Post: 11-10-2001, 01:49 AM