NASM - The Netwide Assembler
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Calendar
Login
Register
NASM - The Netwide Assembler
»
NASM Forum
»
Using NASM
»
Static linker for NASM: Smaller C Linker
« previous
next »
Print
Pages: [
1
]
Author
Topic: Static linker for NASM: Smaller C Linker (Read 11383 times)
alexfru
Jr. Member
Posts: 17
Static linker for NASM: Smaller C Linker
«
on:
September 28, 2014, 08:55:58 AM »
This is an announcement.
I have a static
linker for NASM
that is part of my
Smaller C compiler
and it seems to be working well with ELF object files produced by NASM. I'm able to make DOS, Windows and Linux executables linked with the linker. Flat binaries should work too (though, you don't always need a linker for those if you use NASM).
I've just created
documentation for it
and so it's officially available and considered to be usable. Users and bug reports are welcome!
Logged
alexfru
Jr. Member
Posts: 17
Re: Static linker for NASM: Smaller C Linker
«
Reply #1 on:
November 25, 2014, 08:56:37 AM »
I've updated the documentation on the small memory model and included a small test app (2 parts:
lnktst1.asm
,
lnktst1b.asm
) demonstrating how to use nasm and smlrl to create DOS .COM and .EXE programs (for the tiny and small memory models, respectively). I guess I should've done it a long time ago.
Logged
Frank Kotler
NASM Developer
Hero Member
Posts: 2667
Country:
Re: Static linker for NASM: Smaller C Linker
«
Reply #2 on:
November 25, 2014, 02:17:06 PM »
Never too late! Thanks, Alexei!
Best,
Frank
Logged
alexfru
Jr. Member
Posts: 17
Re: Static linker for NASM: Smaller C Linker
«
Reply #3 on:
December 21, 2014, 09:57:44 AM »
For those interested, there's now a Linux version of the binary (smlrl) as well as DOS and Windows:
https://github.com/alexfru/SmallerC/tree/master/v0100/binl
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Using NASM
»
Static linker for NASM: Smaller C Linker