flat assembler
Message board for the users of flat assembler.

Index > Main > PE - Executable size

Author
Thread Post new topic Reply to topic
NLet



Joined: 18 Dec 2011
Posts: 1
NLet
Hi all. I am extremely new to FASM, and new to ASM itself, and I am wondering - are there any compiler directives to cut some "needless" stuff off?Although the "minimal" exe size is small indeed - 2kb, but, for example, gc++ compiler can cut it's exe under 1kb just using -strip.
Sorry for being dumb, but I've already googled alot on that subject and didn't find anything useful.
Post 18 Dec 2011, 12:21
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17271
Location: In your JS exploiting you and your system
revolution
There are already many threads about that on this board. Search for them.

Here is one thread to get you started: http://board.flatassembler.net/topic.php?t=13682
Post 18 Dec 2011, 12:26
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
NLet wrote:
Although the "minimal" exe size is small indeed - 2kb


1 KiB minimum for valid PE.

Quote:
gc++ compiler can cut it's exe under 1kb just using -strip


Evidence please.

Quote:
are there any compiler directives to cut


NO. Use format binary http://board.flatassembler.net/topic.php?p=138069#138069

_________________
Bug Nr.: 12345

Title: Hello World program compiles to 100 KB !!!

Status: Closed: NOT a Bug
Post 13 Jan 2012, 08:37
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
Quote:

Title: Hello World program compiles to 100 KB !!!
Post 13 Jan 2012, 15:47
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.