Josh @ Dreamland
|
|
Reply #45 Posted on: January 19, 2011, 10:59:23 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
The DLLs are small; its the concept that irks me.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
|
|
Post made January 24, 2011, 09:48:40 am was deleted at the author's request.
|
|
Josh @ Dreamland
|
|
Reply #51 Posted on: January 24, 2011, 03:45:16 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
As soon as people verify that this works for them: http://dl.dropbox.com/u/1052740/ENIGMA-R4-r615.zipIf that works, I will add a call to the AL installer to ENIGMA.exe and link to the front page. Positive reviews there will lead to a formal release.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
Josh @ Dreamland
|
|
Reply #53 Posted on: January 24, 2011, 04:39:19 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Game_boy: Running from ENIGMA.exe? It's an installer.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
RetroX
|
|
Reply #55 Posted on: January 24, 2011, 05:09:28 pm |
|
|
Master of all things Linux
Location: US Joined: Apr 2008
Posts: 1055
|
This might not be useful to many people, but just clarifying:
The GCC on every operating system in the entire world besides Windows separates C and C++ library functions into separate runtime libraries (DLLs or SOs depending on the OS). This is to reduce the size of programs, because if every program were to include them, it would just be a massive file size bloat.
Now, for Windows users, most people want to be able to bundle a single EXE and give it to people. If it's bigger, "more important," people usually don't groan about DLLs, because it's installed in some arbitrary folder in the middle of oblivion. But the unofficial Windows philosophy is to bundle every DLL with every program anyways, removing the point of them.
When C++ code is compiled, it is compiled into "objects" - these are intermediate, non-runnable bits of pre-compiled code that can be easily made to be runnable. A dynamic library (DLL or SO) is a file that contains the codes in a morphed form that enables executable programs to find the code and run it. This allows several programs to use the same code and link to only one place where it is located.
A static library is merely an archive (like ZIP) of all of the "objects," which are compiled along with a file to create an EXE. It is essentially duplicating the code and putting it in the executable.
For the GCC, it has libraries for libgcc, glibc, and libstdc++. glibc and libgcc are combined as far as the GCC sees. By default, the GCC it will link to dynamic libraries, requiring the DLLs to be placed in a usable PATH (on Windows, usually system32 or the current directory). If you use the -static-libgcc and -static-libstdc++ flags, these libraries are linked statically.
MinGW isn't being stupid. It's just finally decided that it's stupid to do something different from what the regular GCC does - and besides, its libraries are no different from Microsoft's C++ runtime. However, for the usage with a game similar to those of GM's, most people will hate the idea of bundling DLLs.
|
|
« Last Edit: January 24, 2011, 05:11:16 pm by RetroX »
|
Logged
|
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)Why do all the pro-Microsoft people have troll avatars?
|
|
|
|
|
freezway
|
|
Reply #58 Posted on: January 24, 2011, 07:23:47 pm |
|
|
Joined: Dec 2009
Posts: 220
|
CPU most defiantly...
|
|
|
Logged
|
if you drop a cat with buttered toast strapped to its back, which side lands down? joshdreamland: our languages are based on the idea that it's going to end up FUBAR /kick retep998
|
|
|
Josh @ Dreamland
|
|
Reply #59 Posted on: January 24, 2011, 08:14:23 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Yeah, mostly CPU. Memory's cheap, they say, and the GCC uses a shitload compared to the sleekest around (Clang, however incomplete). But yes, I notice a huge jump from single core to even just dual core. I don't notice much difference between dual and quad, though, so. I think there's an option for number of CPUs to use in the GCC, but I don't make use of it.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|