Implement dynamic linking with system libraries via -lsyslibname:
console.obj http.ibj InputBox.obj Add header files for apps what dynamically link these libraries. git-svn-id: svn://kolibrios.org@7925 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
18
programs/develop/ktcc/trunk/lib/inputbox/InputBox.asm
Normal file
18
programs/develop/ktcc/trunk/lib/inputbox/InputBox.asm
Normal file
@@ -0,0 +1,18 @@
|
||||
format ELF
|
||||
|
||||
include "__lib__.inc"
|
||||
|
||||
fun equ InputBox
|
||||
fun_str equ 'InputBox'
|
||||
|
||||
section '.text'
|
||||
|
||||
fun_name db fun_str, 0
|
||||
|
||||
section '.data'
|
||||
|
||||
extrn lib_name
|
||||
public fun
|
||||
|
||||
fun dd fun_name
|
||||
lib dd lib_name
|
Reference in New Issue
Block a user