RetroX
|
|
Posted on: December 10, 2010, 07:40:25 pm |
|
|
Master of all things Linux
Location: US Joined: Apr 2008
Posts: 1055
|
Would be a really neat feature to have.
But I don't see it as being possible currently.
Ideally, LGM would be able to specify a compile command (by default, g++) for the makefiles, as well as a list of default flags to the compilers (such as -m32 and -m64). This would enable me to do things like turning on the -m32 flag, or using i486-mingw32-g++ as the compile command so that I can cross-compile to Windows.
I also propose that -mtune=generic is added to the default flags, because it avoids runtime conflicts or something like that. I add that in my packages right now through sed, but it would be a good idea for default. Probably would be ignored under everything but Linux and Android, but MinGW should still support it.
|
|
|
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?
|
|
|
Josh @ Dreamland
|
|
Reply #1 Posted on: December 11, 2010, 01:10:25 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Just leave that to me.
It's been a planned part of the iPhone/Android integration. By the same mechanism you chose a compiler for those devices, you will be able to choose a cross-compiler.
Issue is, Ism, TGMG, and myself are never on concurrently.
|
|
|
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 December 11, 2010, 07:06:23 am was deleted at the author's request.
|
Josh @ Dreamland
|
|
Reply #3 Posted on: December 11, 2010, 10:12:30 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
This isn't something that can be done with the three of us PMing each other. We need to discuss a spec that provides for the needs of all supported platforms.
|
|
|
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 #5 Posted on: December 11, 2010, 11:40:17 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Not just Mac. We're sticking to Mac because I've not yet started the Wii port and I don't own any other consoles for which I'd like to see ENIGMA work in the near future. It may happen that I'll end up thinking up a spec tailored to the Wii, and TGMG will make it work for Mac, iPhone, and Android.
Not to be a dick or anything, as TGMG has contributed some ideas to this mix, but it's so far been me who ends up writing the big picture shit that just needs to work, anyway. (I'd never expect anyone to mess with any of the parsers; it was neat enough that TGMG made the necessary modifications to the compiler source to get it working for those platforms at all). It's just that, as far as I can tell, this cross-compiling nonsense isn't going to happen until I have a release ready for Wii (which may in fact be sometime near New Year's).
|
|
|
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
|
|
|
|
TheExDeus
|
|
Reply #7 Posted on: December 11, 2010, 02:54:40 pm |
|
|
Joined: Apr 2008
Posts: 1860
|
I think more function implementation should be done. Although I could be only one that thinks that. All of the drawing functions are essentially done (except surfaces). The rest of the resource functions just touch external loading and memory management (load and free). Then there is lots of other functions, but from drawing and so gameplay stand point everything could be ready for simple game creation and testing. As drawing is done by openGL I suspect it works for win, mac and linux out of the box. I would want to see the "Platform" dropdown box in LGM Enigma Settings to actually allow me choose between the three, but whatever. I would not be able to test it anyway as I have only windows right now. Also, Wii support seems cool. Lots of possibilities there, thou I never got that damn thing. Maybe this could be a good enough reason to buy one.
|
|
« Last Edit: December 12, 2010, 01:57:56 pm by IsmAvatar »
|
Logged
|
|
|
|
|
Josh @ Dreamland
|
|
Reply #9 Posted on: December 11, 2010, 10:17:39 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
<..< Opened ENIGMA settings lately, Retro?
|
|
|
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 #14 Posted on: December 13, 2010, 12:07:51 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
No, there is no special form for links. I was indicating that systems like Box2D would be added to the collision system list. Setting custom links is messy; that should only be required when the system can't be integrated elsewhere. But yes, that much is necessary.
As far as changing the compile flags, we have a lot more than that to change, as is becoming more and more evident. Someone signed into the IRC who was having problems getting ENIGMA to coexist peacefully with DevKitPro's Msys. It was a complete clusterfuck. It didn't help that Tortoise SVN was betraying us the whole way, either...
Damn.
|
|
|
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
|
|
|
|