flat assembler
Message board for the users of flat assembler.
Index
> Main > How I may link several .obj files??? |
Author |
|
vid 29 Apr 2008, 11:32
Quote: As a result I want to obtain the .bin - file. This is the problem: bin file has no strictly defined layout - how the linker should know how to position and group segments? I think what you want is not possible with MS linker. It is possible with linux ld using something called "linker script", but I think it is a bit advanced thing, I never used it. |
|||
29 Apr 2008, 11:32 |
|
4min 29 Apr 2008, 11:54
But linking isn't the problem? How?
|
|||
29 Apr 2008, 11:54 |
|
vid 29 Apr 2008, 12:04
to link with MS linker to .exe, you just have to do something like this:
Code: link /subsystem:console /entry:<symbol> /nodefaultlib object1.obj object2.obj |
|||
29 Apr 2008, 12:04 |
|
daniel.lewis 30 Apr 2008, 06:56
No idea.
This is one of those moments when I wonder if all the abstraction and obfuscation and complication of using programming languages and compilers was ever really worth it. *pauses in contemplation* It doesn't matter. The deed is done. _________________ dd 0x90909090 ; problem solved. |
|||
30 Apr 2008, 06:56 |
|
vid 30 Apr 2008, 08:50
Quote: This is one of those moments when I wonder if all the abstraction and obfuscation and complication of using programming languages and compilers was ever really worth it. It is. You'll learn when you try to code something big, or try to mix other people's code to yours, etc... |
|||
30 Apr 2008, 08:50 |
|
bitRAKE 30 Apr 2008, 14:04
It is true when:
(time to code function yourself) > (time to learn interface of function of 'other') and (goal is to complete project in minimal time) If you enjoy coding then maybe doing it yourself is the goal. _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
30 Apr 2008, 14:04 |
|
vid 30 Apr 2008, 14:39
Sure, but if you want to reach big goals, "do everything yourself" may be impossible. For small goals it is fine, and for sure more fun than learrning other's interfaces.
|
|||
30 Apr 2008, 14:39 |
|
daniel.lewis 01 May 2008, 00:05
I have a scripting engine and compiler I've been writing, and have reverse engineered three complete operating systems.
IDA Pro makes it easier for a reverser to understand a program than most programmers get from source code view. Yay for flow control graphs! I just wish I could click and type assembler into them. _________________ dd 0x90909090 ; problem solved. |
|||
01 May 2008, 00:05 |
|
vid 01 May 2008, 00:38
daniel: hi - my response was meant for BitRake, - but still: if you want to make you your own project, go own, otherwise keep out of way. I don't mean ABSOLUTELY no harm, but stilll, it was WF
|
|||
01 May 2008, 00:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.