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

Popular posts from this blog

node.js - StackOverflow API not returning JSON -

ios - Apple Push Notifications + TestFlight + Enterprise wildcard provisioning profile -

android - Drag and drop in ScrollView -