Despite its small size it is self-contained so nothing further to install.
I've no idea why the Cygwin one is so big, tbh.
In article <b336bd42-7e88-c560-f176-653bd3988d7e@scorecrow.com>,
Bruce Horrocks <07.013@scorecrow.com> wrote:
...
Despite its small size it is self-contained so nothing further to install.
Do you know what that version is? What compiler/development system, etc?
That would explain why it is smaller than expected...
(If it doesn't require any DLLs, is it "statically linked" ?)
--I've no idea why the Cygwin one is so big, tbh.
I just checked my Cygwin gawk.exe file; it is 640,000 bytes long (yeah, exactly 640K - heh heh). I didn't compile this; I installed it from the repo(s), using the usual Cygwin installer.
So, I'd imagine that that Cygwin gawk (the one OP references, that is 6M size) was statically linked - that is, it includes all the DLLs that would normally be kept as separate files. The main cygwin dll (cygwin1.dll) is 3.5M, the MPFR one is 2.5M, the rest are trivially small, so the total size should come to about 7M. Of course, it you compile without MPFR support (which OP probably doesn't need), it could be substantially smaller. >
Maybe, just to help OP and to put this thread to rest, someone should take the time and effort to compile up a statically linked (and thus standalone) version of gawk.exe and make it available to OP on some web site.
I just checked my Cygwin gawk.exe file; it is 640,000 bytes long (yeah, >exactly 640K - heh heh). I didn't compile this; I installed it from the >repo(s), using the usual Cygwin installer.
So, I'd imagine that that Cygwin gawk (the one OP references, that is 6M >size) was statically linked - that is, it includes all the DLLs that would >normally be kept as separate files. The main cygwin dll (cygwin1.dll) is >3.5M, the MPFR one is 2.5M, the rest are trivially small, so the total size >should come to about 7M. Of course, it you compile without MPFR support >(which OP probably doesn't need), it could be substantially smaller.
Maybe, just to help OP and to put this thread to rest, someone should take >the time and effort to compile up a statically linked (and thus standalone) >version of gawk.exe and make it available to OP on some web site.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 793 |
Nodes: | 10 (1 / 9) |
Uptime: | 39:46:59 |
Calls: | 11,106 |
Calls today: | 3 |
Files: | 186,086 |
Messages: | 1,751,473 |