NASM - The Netwide Assembler
September 08, 2010, 11:50:48 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new NASM Forum!
   
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: why link?  (Read 781 times)
ras
Jr. Member
*
Offline Offline

Posts: 8


View Profile
« on: February 27, 2010, 11:20:13 PM »

^_^ topic, [why link?]

any reasoning behind linking aside from access to higher level language compiled objects?

nasm's macro facilities are very robust, and it's more than possible to use -f bin to emit final_output quality binaries in higher forms, elf a.out pe...
so why link?

i want your opinions ';]
Logged
Keith Kanios
NASM Developer
Full Member
*****
Offline Offline

Posts: 135



View Profile WWW
« Reply #1 on: March 09, 2010, 06:31:24 PM »

For very small asm-only projects, there are not many reasons beyond personal preference and eliminating the need for another tool.

For projects that wish to include static or shared libraries, or utilize highly modular design, there are many reasons.

Beyond that, there are things that end up being platform specific that are best handled by the appropriate linker. A good example is the generic use of ELF across different Unix-like platforms.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!