flat assembler
Message board for the users of flat assembler.
Index
> Main > object files |
Author |
|
LocoDelAssembly 15 Jan 2008, 21:23
Imposible with fasm, you need a external tool (a linker). Create an object file (COFF, MSCOFF and ELF are supported) of your program and later use a linker.
|
|||
15 Jan 2008, 21:23 |
|
edfed 15 Jan 2008, 23:57
or make an equate file to support your obj file.
and include it in your source. need to load the object when program starts. |
|||
15 Jan 2008, 23:57 |
|
dosin 16 Jan 2008, 00:52
Thanks... I will give it a try...
|
|||
16 Jan 2008, 00:52 |
|
DOS386 16 Jan 2008, 01:22
Quote: Fasm test.asm some.obj ? NO, FASM doesn't suport OMF objects, this has been discussed many times, several people complained, Tomasz didn't make any statement on this issue YES, you need a linker for OBJ's, like VALX. For 32-bit code you can try come "COFF2OMF" tool (untested, at your risk). You probably could brew an OBJ manually, as one can do with MZ, LE and PE. NASM and LZASM do support OMF OBJ. _________________ Bug Nr.: 12345 Title: Hello World program compiles to 100 KB !!! Status: Closed: NOT a Bug |
|||
16 Jan 2008, 01:22 |
|
f0dder 16 Jan 2008, 11:32
Why use OMF object files when there's COFF? Just find a decent linker
|
|||
16 Jan 2008, 11:32 |
|
Tomasz Grysztar 16 Jan 2008, 13:26
DOS386 wrote: NO, FASM doesn't suport OMF objects, this has been discussed many times, several people complained, Tomasz didn't make any statement on this issue http://board.flatassembler.net/topic.php?p=60922#60922 I explained this in a few other places, too. |
|||
16 Jan 2008, 13:26 |
|
DOS386 20 Jan 2008, 02:01
http://board.flatassembler.net/topic.php?p=383#383
http://board.flatassembler.net/topic.php?p=22465#22465 http://board.flatassembler.net/topic.php?p=33457#33457 http://board.flatassembler.net/topic.php?p=60922#60922 Tomasz wrote: > I explained this in a few other places, too. YES, long time ago. I was somewhat wrong fodder wrote: > Why use OMF object files when there's COFF? Just find a Decent Linker NO. It's not about finding a D.L. or L.D. - it's about (OK, not very up to date) 16-bit (there is no COFF-16), and using FASM with compilers and linkers using OMF (VALX), and existing OMF stuff. I'l add a FAQ ASAP |
|||
20 Jan 2008, 02:01 |
|
f0dder 20 Jan 2008, 09:26
DOS386: sure, if somebody is doing 16-bit code, they won't be using COFF. (But why write big 16-bit programs these days?).
Most people asking about OMF/COFF, however, tend to be using 32-bit borland tools... and there, the solution is to move to a better toolset. |
|||
20 Jan 2008, 09:26 |
|
rugxulo 25 Jan 2008, 05:12
f0dder wrote: DOS386: sure, if somebody is doing 16-bit code, they won't be using COFF. (But why write big 16-bit programs these days?). Why not? 16 MB should be enough for anyon... oh wait, never mind.
P.S. Try Agner's OBJCONV (via HX if need to run in pure DOS). |
|||
25 Jan 2008, 05:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.