flat assembler
Message board for the users of flat assembler.
Index
> High Level Languages > c code for 8086 |
Author |
|
b1528932 18 Feb 2011, 16:11
How can i use gcc to produce code for 8086 cpu?
More important, how can i tell gcc not to trash my code with msvcrt crap? |
|||
18 Feb 2011, 16:11 |
|
Tyler 18 Feb 2011, 19:25
You can't. GCC doesn't support segmented memory, or, by inclusion, real mode. BCC is a good C compiler for real mode. http://linux.die.net/man/1/bcc
|
|||
18 Feb 2011, 19:25 |
|
b1528932 19 Feb 2011, 14:31
about trashing, -nostdlib fixed problem. But gcc cant make real mode code.
bye gcc. |
|||
19 Feb 2011, 14:31 |
|
Tyler 19 Feb 2011, 19:09
Did you expect a Window's compiler not to link to a Window's library?
If you want a cross compiler(for any architecture), you need to build it. |
|||
19 Feb 2011, 19:09 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.