flat assembler
Message board for the users of flat assembler.
Index
> Windows > small PE for 4k intro Goto page Previous 1, 2, 3 |
Author |
|
LocoDelAssembly 21 Feb 2007, 22:40
The PE format is directly the executable, fasm internally doesn't perform any "auto linking", if you want to produce an object file that can be later used with a linker then you can use "format MS COFF" (look at the MSCOFF example in the package).
|
|||
21 Feb 2007, 22:40 |
|
hamoz 21 Feb 2007, 23:20
LocoDelAssembly, thanks alot
cheers newbie |
|||
21 Feb 2007, 23:20 |
|
hamoz 22 Feb 2007, 14:25
Hi,
How could you link the MSCOFF < in fasm package> with polink, please help me in steps path and lib. |
|||
22 Feb 2007, 14:25 |
|
LocoDelAssembly 22 Feb 2007, 14:39
Sorry I can't help you here, I always use the executable formats on Windows.
|
|||
22 Feb 2007, 14:39 |
|
hamoz 22 Feb 2007, 18:12
I did link it with ms link and it was like that in my case :
Quote: c:\masm32\bin\link /ENTRY:demo /SUBSYSTEM:WINDOWS mscoff.obj c:\masm32\lib\user32.lib and the MSCOFF object file was in the bin folder of masm32 cheers hamoz |
|||
22 Feb 2007, 18:12 |
|
hamoz 22 Feb 2007, 18:17
hey guys
I wanna link the MSCOFF <in fasm package> with polink. |
|||
22 Feb 2007, 18:17 |
|
hamoz 22 Feb 2007, 19:00
heh, I did link it with polink successfully I really wonder the size of
mscoff.exe is 2.50kb if you use ms link and 1.50kb if you use polink, why this difference |
|||
22 Feb 2007, 19:00 |
|
rugxulo 22 Feb 2007, 20:31
Warning: this may be considered inappropriate (but that's not my intention)
Here's a seemingly VERY useful bit of info about shrinking a PE, even downloading a file from the Internet and executing it (see why it may be frowned upon?). Anyways, since it has lots of tips (and since the auto-updater FASMW mod exists by Ozzy), maybe someone here can combine the two ideas. (Or not, whatever.) http://www.phreedom.org/solar/code/tinype/ |
|||
22 Feb 2007, 20:31 |
|
Goto page Previous 1, 2, 3 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.