flat assembler
Message board for the users of flat assembler.
Index
> Linux > linking fasm prog to libc using ld? |
Author |
|
ProphetOfDoom 17 Aug 2009, 22:36
Hi,
I want to write a fasm program that uses libc, and link it with ld. When I try to do this, the linker outputs a binary, but it's impossible to run it. It just says something like 'Bash: no such file or directory'. I noticed someone had a similar problem ( http://board.flatassembler.net/topic.php?t=9456 ) but no-one posted a satisfactory solution as far as i can see. I just want to use printf etc, in my fasm program, and link it with ld. It's a linker, it should link, right? If you can help me you will be my god. Well, almost. Thanks |
|||
17 Aug 2009, 22:36 |
|
ProphetOfDoom 17 Aug 2009, 23:11
thanks soooo much Loco! your example worked first time.
|
|||
17 Aug 2009, 23:11 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.