All times are UTC-06:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: gdc-0.18 compiles on ppc
PostPosted: Sun May 28, 2006 2:15 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Hi all!

The D language patch for gcc finally compiles on ppc.
(used gdc-0.18 & gcc-3.4.4 here).
This hopefully gives us the possibility to build
the mighty D-based ABA-Games
f.e. here: http://www.asahi-net.or.jp/~cs8k-cyu/


Top
   
 Post subject:
PostPosted: Sun May 28, 2006 2:16 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 269
Location: Los Angeles
hmm... those games look really wild..

magnetic


Top
   
 Post subject:
PostPosted: Sun May 28, 2006 2:47 pm 
Offline

Joined: Thu Feb 24, 2005 8:14 am
Posts: 35
Great to hear! I'm quite interested in D.

Can you post a short HOWTO how to integrate the gdc patches into a ~ppc gcc of gentoo (if you're using sth. other, then just for a normal gcc ;-) ).

Thank you very much,
M


Top
   
 Post subject:
PostPosted: Mon May 29, 2006 12:34 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Hi!

Well I'm under gentoo, but you'll have to recompile
gcc from scratch to integrate gdc...

- extract gcc-3.4.4 into your source-compile dir
- extract gdc-0.18 into gcc-3.4.4/gcc/ ->
you'll get a gcc-3.4.4/gcc/d/ dir
- in terminal cd to gcc-3.4.4
- ./gcc/d/setup-gcc.sh
- now
./configure --prefix=/opt/gdc --enable-languages=c,d,c++
(1 command-line of course)

make
make install

This is the very same way as written in the gdc-INSTALL text, so no miracles for ppcs :)


To use the gdc-gcc instead of the gentoo-gcc I simply
add the PATH & LD_LIBRARY_PATH to /opt/gdc:
export PATH=/opt/gdc/bin:$PATH
export LD_LIBRARY_PATH=/opt/gdc/lib:$LD_LIBRARY_PATH
(LD_LIBRARY_PATH very likely isn't required...)

some (all?) d-sources need the executable "dmd",
so I did:
ln -s /opt/gdc/bin/gdmd /opt/gdc/bin/dmd
I also cloned libgphobos.a to libphobos.a (in /opt/gdc/lib)


The compiler seems to work, but I got some "undefined
reference to 'ModuleInfo_3SDL" in linking tumikifighters....

cheers
frostwork


Top
   
 Post subject:
PostPosted: Sun Jul 23, 2006 2:59 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Hi!

Just a quick update:
gdc-0.19 builds fine (I used gcc-3.4.5 this time) &
I successfully built the mighty gunroar-0.15 from
aba-games!
TorusTroopers-0.22 builts fine, too but refused to start with
following message:
Error: circular initialization dependency with module shape

All the other usual suspects from aba-games, i.e.
a7xpg , parsec47 & tumikifighters built (as already with gdc-0.18) but refuse to link as of the gdc-"ModuleInfo"-bug...

To sum it up - gunroar ROCKS! :D

friendly,
Frostwork


Top
   
 Post subject:
PostPosted: Mon Jul 24, 2006 5:46 am 
Offline

Joined: Sun May 08, 2005 8:46 pm
Posts: 559
Location: Paris
Quote:
Hi!

Just a quick update:
gdc-0.19 builds fine (I used gcc-3.4.5 this time) &
I successfully built the mighty gunroar-0.15 from
aba-games!
TorusTroopers-0.22 builts fine, too but refused to start with
following message:
Error: circular initialization dependency with module shape

All the other usual suspects from aba-games, i.e.
a7xpg , parsec47 & tumikifighters built (as already with gdc-0.18) but refuse to link as of the gdc-"ModuleInfo"-bug...

To sum it up - gunroar ROCKS! :D

friendly,
Frostwork
can you provide us a package (.deb; RPM or other...) for Gunroar ?


Top
   
 Post subject:
PostPosted: Mon Jul 24, 2006 5:55 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
I'd make a tgz, which I'd post where?

The dependencies on other libs are quiet huge, so it
maybe won't run on other systems...


Top
   
 Post subject:
PostPosted: Mon Dec 18, 2006 4:58 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Hi!

As i still haven't given up hope in this I'll dig out this old
thread :)
gdc-020 has been released a few days ago - this time even with
precompiled linux-powerpc versions.
http://sourceforge.net/project/showfile ... _id=154306

Several (d-)programmers tried to help me, but unfortunately
none of them uses linux-ppc.
This is our chance to get more really hq games onto
our ppcs so any help/try would be greatly appreciated!

I already got to work gunroar, a7xpg,parsec47, psyno, reflectball & some more
some others build & work, but enemies or shots are missing:
z-lock, gradle unision, a2k

These need further work:
titanion, mu-cade, torustroopers, tumikifighters

Let's rock! :D


Top
   
 Post subject:
PostPosted: Wed Dec 20, 2006 7:06 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Hi!
Even if there maybe is low interest in building the aba-games, ,maybe there is more interest in the results:
I sucessfully built yesterday & today:
torus trooper
torus trooper pure (from HIZ: http://www.mb.ccnw.ne.jp/hiz/game/tt/index_en.html)
titanion 0.3 works! :D

tumikifighters already works, too, but crashes after some time playing
val&rick works but has wrong colours
mu-cade doesn't show any sprites (I doubt i get mu-cade to work :( )

friendly,
Marcel


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group