Mail Archives: djgpp/1997/07/06/11:53:23
At 02:12 7/5/1997 -0700, you wrote:
>Nate Eldredge wrote:
>> GAS is sort of ugly and buggy for writing assembly routines. I recommend
>> NASM, an assembler which can output in a format linkable for DJGPP. It's on
>
>How do I link it to DJGPP C code
First you compile all your C modules with -c:
gcc -c c_func.c
... etc ...
Then you assemble the assembly modules:
nasm -o asm_func.o -f coff asm_func.asm
... etc ...
Finally you link it all together:
gcc -o prog c_func.o asm_func.o
> & can I have an exact address for DOS
>NASM(I go to their site but I have problem w/their server)?
I'm afraid I can't help you much there, since I don't have FTP access. All I
know is it should be in the asmutl directory on SimtelNet and called nasm*.zip.
HTH
Nate Eldredge
eldredge AT ap DOT net
- Raw text -