windows - ld linker's output executable is bigger than the golink output executable, why? -
i've assembled simple code nasm
, linked output obj file both ld
, golink
issue golink output executable 2kb
of size ld output executable 85kb
of size
i'm using mingw32 , both using library kernel32.dll
.
linking commands are:
golink /entry _start /console test.obj kernel32.dll
&
gcc test.obj-l kernel32.dll
so why huge difference in sizes?
am doing wrong? enlighten me please.
Comments
Post a Comment