Pages: 1 2 3 [4] 5 6 ... 8
  Print  
Author Topic: Happenings  (Read 26232 times)
Offline (Male) Josh @ Dreamland
Reply #45 Posted on: January 19, 2011, 10:59:23 AM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
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
Offline (Unknown gender) MrGriggs
Reply #46 Posted on: January 19, 2011, 01:00:05 PM

Member
Joined: Dec 2010
Posts: 128

View Profile Email
But can they be shoved into the executable (Compiled with it), you know I love shoving, upon the condition the user can't fuck them up or forget to include them does it really matter?  :)
android phone I am using    yes
« Last Edit: January 24, 2011, 04:08:01 AM by MrGriggs » Logged
Offline (Unknown gender) TheExDeus
Reply #47 Posted on: January 19, 2011, 01:38:15 PM

Developer
Joined: Apr 2008
Posts: 1914

View Profile
Quote
But caN they be shoved in t he executable, you know I love shoving if the user cant fuck them up or forget to include them does it ns matter  :)
android phone I am using    yes
An include system just like GM's will have to made either way, so I don't see why not. I always include my dll's inside the exe.
Logged
Offline (Unknown gender) MrGriggs
Reply #48 Posted on: January 24, 2011, 04:08:40 AM

Member
Joined: Dec 2010
Posts: 128

View Profile Email
When will an update to the front page (or what have you) including the recently completed installer be added? ;)

People need to witness ze beautiful creation.

Well done to Josh, Ism and everyone :)
« Last Edit: January 24, 2011, 04:15:29 AM by MrGriggs » Logged
Post made January 24, 2011, 09:48:40 AM was deleted at the author's request.
Offline (Unknown gender) MrGriggs
Reply #50 Posted on: January 24, 2011, 11:15:36 AM

Member
Joined: Dec 2010
Posts: 128

View Profile Email
Yes, my favourite is the purple ENIGMA icon.
Logged
Offline (Male) Josh @ Dreamland
Reply #51 Posted on: January 24, 2011, 03:45:16 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
As soon as people verify that this works for them:
http://dl.dropbox.com/u/1052740/ENIGMA-R4-r615.zip

If 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
Offline (Unknown gender) Game_boy
Reply #52 Posted on: January 24, 2011, 04:12:45 PM
Member
Joined: Apr 2008
Posts: 228

View Profile
rUnhandled Exception:
org.lateralgm.file.GmFormatException - java.io.FileNotFoundException: Compilers\Windows\gcc.ey (The system cannot find the path specified)

Stack trace:
java.io.FileInputStream.open(Native Method)
java.io.FileInputStream.<init>(Unknown Source)
java.util.Scanner.<init>(Unknown Source)
org.enigma.EnigmaRunner.make(EnigmaRunner.java:196)
org.enigma.EnigmaRunner$1.run(EnigmaRunner.java:137)
Logged
Offline (Male) Josh @ Dreamland
Reply #53 Posted on: January 24, 2011, 04:39:19 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
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
Offline (Unknown gender) Game_boy
Reply #54 Posted on: January 24, 2011, 04:56:25 PM
Member
Joined: Apr 2008
Posts: 228

View Profile
That was after Enigma.exe ran and I let it install MinGW to C:/
Logged
Offline (Male) RetroX
Reply #55 Posted on: January 24, 2011, 05:09:28 PM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
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)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) Josh @ Dreamland
Reply #56 Posted on: January 24, 2011, 05:34:15 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
http://dl.dropbox.com/u/1052740/ENIGMA-R4-r617.zip
http://dl.dropbox.com/u/1052740/ENIGMA-R4-r618.zip

Use the trunk until official release. Though we are pushing to stable now.
« Last Edit: January 24, 2011, 05:52:41 PM by Josh @ Dreamland. » 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
Offline (Unknown gender) Game_boy
Reply #57 Posted on: January 24, 2011, 07:09:54 PM
Member
Joined: Apr 2008
Posts: 228

View Profile
Installs now, thanks.

Out of interest, what is the limiting factor to compile speed on newer computers - CPU? Hard-drive? RAM?

Logged
Offline (Unknown gender) freezway
Reply #58 Posted on: January 24, 2011, 07:23:47 PM

Member
Joined: Dec 2009
Posts: 220

View Profile
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
Offline (Male) Josh @ Dreamland
Reply #59 Posted on: January 24, 2011, 08:14:23 PM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2946

View Profile Email
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
Pages: 1 2 3 [4] 5 6 ... 8
  Print