D.gnu - gdc 0.16 on linux for power pc
- Carlos Santander (13/13) Nov 19 2005 I've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ub...
- Carlos Santander (14/30) Nov 25 2005 Dropped Kubuntu, tried Fedora Core 4, gcc 4.0.2:
- clayasaurus (2/18) Nov 25 2005
- John Reimer (3/23) Nov 25 2005 I'm sure he does... if it were available on PowerPC. ;)
- clayasaurus (2/28) Nov 25 2005 *doh*
- Carlos Santander (4/30) Nov 26 2005 True, but even if I was on x86, I'd also like to use gdc.
- John Reimer (3/9) Nov 27 2005 Interesting... why? I'm curious to hear your reasons (probably good one...
- Carlos Santander (7/25) Nov 27 2005 Because I like to try different things (for my thesis I used 2 hardware
I've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ubuntu CD arrives) with gcc 3.3.6, 3.4.3, 4.0.1, and 4.0.2, and while it compiles, GPhobos, doesn't. I always get: ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot change reference to static array 'q' ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot assign to static array q ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot change reference to static array 'q' ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot assign to static array q make[1]: *** [internal/gc/gc.o] Error 1 Any workarounds? -- Carlos Santander Bernal
Nov 19 2005
Carlos Santander escribió:I've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ubuntu CD arrives) with gcc 3.3.6, 3.4.3, 4.0.1, and 4.0.2, and while it compiles, GPhobos, doesn't. I always get: .../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot change reference to static array 'q' .../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot assign to static array q .../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot change reference to static array 'q' .../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot assign to static array q make[1]: *** [internal/gc/gc.o] Error 1 Any workarounds?Dropped Kubuntu, tried Fedora Core 4, gcc 4.0.2: ../../../gcc-4.0.2/libphobos/gcc/deh.d:0: internal compiler error: Violación de segmento Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[1]: *** [gcc/deh.o] Error 1 make[1]: Leaving directory `/home/carlos/dev/gdc-0.16/powerpc-unknown-linux-gnu/libphobos' make: *** [all-target-libphobos] Error 2 (Violación de segmento = Segment violation) -- Carlos Santander Bernal
Nov 25 2005
You don't want to use the linux version of DMD? Carlos Santander wrote:I've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ubuntu CD arrives) with gcc 3.3.6, 3.4.3, 4.0.1, and 4.0.2, and while it compiles, GPhobos, doesn't. I always get: ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot change reference to static array 'q' ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot assign to static array q ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot change reference to static array 'q' ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot assign to static array q make[1]: *** [internal/gc/gc.o] Error 1 Any workarounds?
Nov 25 2005
clayasaurus wrote:You don't want to use the linux version of DMD? Carlos Santander wrote:I'm sure he does... if it were available on PowerPC. ;) -JJRI've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ubuntu CD arrives) with gcc 3.3.6, 3.4.3, 4.0.1, and 4.0.2, and while it compiles, GPhobos, doesn't. I always get: ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot change reference to static array 'q' ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot assign to static array q ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot change reference to static array 'q' ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot assign to static array q make[1]: *** [internal/gc/gc.o] Error 1 Any workarounds?
Nov 25 2005
John Reimer wrote:clayasaurus wrote:*doh*You don't want to use the linux version of DMD? Carlos Santander wrote:I'm sure he does... if it were available on PowerPC. ;) -JJRI've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ubuntu CD arrives) with gcc 3.3.6, 3.4.3, 4.0.1, and 4.0.2, and while it compiles, GPhobos, doesn't. I always get: ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot change reference to static array 'q' ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot assign to static array q ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot change reference to static array 'q' ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot assign to static array q make[1]: *** [internal/gc/gc.o] Error 1 Any workarounds?
Nov 25 2005
John Reimer escribió:clayasaurus wrote:True, but even if I was on x86, I'd also like to use gdc. -- Carlos Santander BernalYou don't want to use the linux version of DMD? Carlos Santander wrote:I'm sure he does... if it were available on PowerPC. ;) -JJRI've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ubuntu CD arrives) with gcc 3.3.6, 3.4.3, 4.0.1, and 4.0.2, and while it compiles, GPhobos, doesn't. I always get: ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot change reference to static array 'q' ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot assign to static array q ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot change reference to static array 'q' ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot assign to static array q make[1]: *** [internal/gc/gc.o] Error 1 Any workarounds?
Nov 26 2005
In article <dmb4e1$22s9$1 digitaldaemon.com>, Carlos Santander says...Interesting... why? I'm curious to hear your reasons (probably good ones). -JJRI'm sure he does... if it were available on PowerPC. ;) -JJRTrue, but even if I was on x86, I'd also like to use gdc. -- Carlos Santander Bernal
Nov 27 2005
John Reimer escribió:In article <dmb4e1$22s9$1 digitaldaemon.com>, Carlos Santander says...Because I like to try different things (for my thesis I used 2 hardware platforms, 3 operating systems, 2 D compilers and 5+ C compilers), but also because I feel like if I try both DMD and GDC I'm helping more the D community, so it'd be my small contribution. -- Carlos Santander BernalInteresting... why? I'm curious to hear your reasons (probably good ones). -JJRI'm sure he does... if it were available on PowerPC. ;) -JJRTrue, but even if I was on x86, I'd also like to use gdc. -- Carlos Santander Bernal
Nov 27 2005