flat assembler
Message board for the users of flat assembler.

Index > Main > Compiler options for PE

Author
Thread Post new topic Reply to topic
MFKZ



Joined: 13 Dec 2007
Posts: 2
MFKZ 13 Dec 2007, 04:55
Sorry for my bad english, i'm from RU Sad

Does FASM supports command line parameters / options / etc. file alignment / section virtual alignment control (Windows) ?
Such as Microsoft Visual C++ 6/7/8 linker options like
/align
/filealign
/base
/fixed
and others...

Короче сделайте туда чего-нибудь, чтобы контролировать полностью PE-структуру выходного файленга (это слово наверное не переведется ... Smile)
Post 13 Dec 2007, 04:55
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 13 Dec 2007, 09:56
You can either compile to PE file directly. Then "/fixed" and "/base" are supported, "/align" and "/filealign" aren't.

Or, you can compile to MS COFF file, and use linker. In this case you can use all these options.
Post 13 Dec 2007, 09:56
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1900
DOS386 16 Dec 2007, 13:26
> Then "/fixed" and "/base" are supported

But from the source, not as commandline options.
Post 16 Dec 2007, 13:26
View user's profile Send private message Reply with quote
MFKZ



Joined: 13 Dec 2007
Posts: 2
MFKZ 20 Dec 2007, 06:08
ok, but there is no control of file alignment value Sad
Post 20 Dec 2007, 06:08
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4020
Location: vpcmpistri
bitRAKE 20 Dec 2007, 16:48
Doesn't windows forces alignment to $10000 for file and $1000 for section?

That should be sufficient, no?
Post 20 Dec 2007, 16:48
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 20 Dec 2007, 16:56
it's $200 for file
Post 20 Dec 2007, 16:56
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4020
Location: vpcmpistri
bitRAKE 20 Dec 2007, 17:11
Sorry, I was talking about where windows loads PE files - this is the base address and not file alignment. MFKZ, if you could give us more information on what need to do?
Post 20 Dec 2007, 17:11
View user's profile Send private message Visit poster's website 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.