Page 1 of 1

gcc 16 bit code output

Posted: Fri Aug 15, 2003 11:00 pm
by Neo
can anyone tell me how to output 16 bit code using gcc compiler?

RE:gcc 16 bit code output

Posted: Fri Aug 15, 2003 11:00 pm
by rexlunae
asm(".code16gcc");

You need to place this is every module.

RE:gcc 16 bit code output

Posted: Fri Aug 15, 2003 11:00 pm
by rexlunae
Or, at least, this will make 32-bit code with overrides so it can run in 16-bit segments and real mode, but you still need a 386 or better.

RE:gcc 16 bit code output

Posted: Mon Aug 25, 2003 11:00 pm
by Jarek Pelczar
There are .md and other files on DJGPP site (www.delorie.com/djgpp). It's in 16-bit tools group.

RE:gcc 16 bit code output

Posted: Mon Aug 25, 2003 11:00 pm
by Adek336
Co slychac, Jarek? Jak zdrowko?

Cheers,
Adrian.

RE:gcc 16 bit code output

Posted: Tue Aug 26, 2003 11:00 pm
by Jarek Pelczar
Thanks, fine ;)