Jump to page: 1 2 3
Thread overview
GDC release 1f
Apr 23, 2004
David Friedman
Apr 23, 2004
s31552
Apr 23, 2004
David Friedman
Apr 23, 2004
Lws
Apr 25, 2004
s31552
Apr 23, 2004
David Friedman
Apr 23, 2004
Lws
Apr 23, 2004
Lws
Apr 23, 2004
Brian Pomerantz
Apr 24, 2004
Stephan Wienczny
Apr 24, 2004
David Friedman
Apr 26, 2004
Stephan Wienczny
Apr 26, 2004
David Friedman
Apr 26, 2004
Stephan Wienczny
Apr 27, 2004
David Friedman
Apr 25, 2004
s31552
Apr 27, 2004
s31552
May 18, 2004
Jeroen van Bemmel
GDC status?
Jul 14, 2004
Kris
Jul 16, 2004
David Friedman
Jul 23, 2004
kpuchar
April 23, 2004
Phew! The web page has been updated with a new release.  Major highlights:

* Reported crashes have been fixed
* Update to 0.82
* Compiler no longer requires long double floating point routines
* Included parts of the Boehm garbage collector to get the stack and
  data extents.

The compiler and library now build on Cygwin and FreeBSD.  Other Unix-like environments should work too.

David

April 23, 2004
> The compiler and library now build on Cygwin and FreeBSD.  Other Unix-like environments should work too.

Great! But d/phobos/boehm-gc is dead symbolic link. I think you should use 'tar -cvzhf'.

------------------
 shinichiro.h
  s31552@mail.ecc.u-tokyo.ac.jp
April 23, 2004
An extra note: there are some extra build requirements and the install instructions have changed a bit.

David Friedman wrote:
> Phew! The web page has been updated with a new release.  Major highlights:
> 
> * Reported crashes have been fixed
> * Update to 0.82
> * Compiler no longer requires long double floating point routines
> * Included parts of the Boehm garbage collector to get the stack and
>   data extents.
> 
> The compiler and library now build on Cygwin and FreeBSD.  Other Unix-like environments should work too.
> 
> David
> 

April 23, 2004
Do you have the Java package for gcc? I should have mentioned in the post that it is required now.  When the package is extracted in the gcc directory, the link should point to <srcdir>/boehm-gc.

David

s31552@mail.ecc.u-tokyo.ac.jp wrote:
>>The compiler and library now build on Cygwin and FreeBSD.  Other Unix-like environments should work too.
> 
> 
> Great! But d/phobos/boehm-gc is dead symbolic link. I think you should
> use 'tar -cvzhf'.
> 
> ------------------
>  shinichiro.h
>   s31552@mail.ecc.u-tokyo.ac.jp

April 23, 2004
On 2004-04-23 05:07:31 -0700, David Friedman <d3rdclsmail@earthlink.net> said:

> Do you have the Java package for gcc? I should have mentioned in the post that it is required now.  When the package is extracted in the gcc directory, the link should point to <srcdir>/boehm-gc.

Why is the Java package required?   You can't compile boehm-gc on MacOS X.  At least it says:

This configuration is not supported in the following directories: .... boehm-gc ...

Anyway I'm still compiling.

April 23, 2004
On 2004-04-22 21:59:04 -0700, David Friedman <d3rdclsmail@earthlink.net> said:

> Phew! The web page has been updated with a new release.  Major highlights:
> 
> * Reported crashes have been fixed
> * Update to 0.82
> * Compiler no longer requires long double floating point routines
> * Included parts of the Boehm garbage collector to get the stack and
>    data extents.
> 
> The compiler and library now build on Cygwin and FreeBSD.  Other Unix-like environments should work too.
> 
> David

gdc 1f allowed me to get phobos compiled.. But now i've got this problem:

--begin hello.d
import std.stream;

int main(char[][] args)
{
       stdout.writeLine("Hello World!");
       return 0;
}
--end hello.d

gdc hello.d -o hello
/usr/bin/ld: /usr/local/gdc/lib/gcc-lib/powerpc-apple-darwin7.3.0/3.3.3/../../../libphobos.a(d_os_dep.o) section's (__TEXT,__eh_frame) type S_COALESCED does not match previous objects type S_REGULAR
/usr/bin/ld: /usr/local/gdc/lib/gcc-lib/powerpc-apple-darwin7.3.0/3.3.3/../../../libphobos.a(d_init.o) section's (__TEXT,__eh_frame) type S_COALESCED does not match previous objects type S_REGULAR
collect2: ld returned 1 exit status




Any ideas?   I'm compiling against gcc 3.3.3

April 23, 2004
On 2004-04-23 10:41:27 -0700, Lws <eluusive@sbcglobal.net> said:

> On 2004-04-22 21:59:04 -0700, David Friedman <d3rdclsmail@earthlink.net> said:
> 
>> Phew! The web page has been updated with a new release.  Major highlights:
>> 
>> * Reported crashes have been fixed
>> * Update to 0.82
>> * Compiler no longer requires long double floating point routines
>> * Included parts of the Boehm garbage collector to get the stack and
>>    data extents.
>> 
>> The compiler and library now build on Cygwin and FreeBSD.  Other Unix-like environments should work too.
>> 
>> David
> 
> gdc 1f allowed me to get phobos compiled.. But now i've got this problem:
> 
> --begin hello.d
> import std.stream;
> 
> int main(char[][] args)
> {
>         stdout.writeLine("Hello World!");
>         return 0;
> }
> --end hello.d
> 
> gdc hello.d -o hello
> /usr/bin/ld: /usr/local/gdc/lib/gcc-lib/powerpc-apple-darwin7.3.0/3.3.3/../../../libphobos.a(d_os_dep.o) section's (__TEXT,__eh_frame) type S_COALESCED does not match previous objects type S_REGULAR
> /usr/bin/ld: /usr/local/gdc/lib/gcc-lib/powerpc-apple-darwin7.3.0/3.3.3/../../../libphobos.a(d_init.o) section's (__TEXT,__eh_frame) type S_COALESCED does not match previous objects type S_REGULAR
> collect2: ld returned 1 exit status
> 
> Any ideas?   I'm compiling against gcc 3.3.3


I don't know what was wrong, but i desided to try recompiling phobos again.  This time it works.. *Bog*


April 23, 2004
David Friedman wrote:
> Phew! The web page has been updated with a new release.  Major highlights:
> 

Excellent!  Shared libraries on Linux appear to work properly now (was crashing on what I assumed was the garbage collecting).


BAPper

April 24, 2004
David Friedman wrote:
> Phew! The web page has been updated with a new release.  Major highlights:
> 
> * Reported crashes have been fixed
> * Update to 0.82
> * Compiler no longer requires long double floating point routines
> * Included parts of the Boehm garbage collector to get the stack and
>   data extents.
> 
> The compiler and library now build on Cygwin and FreeBSD.  Other Unix-like environments should work too.
> 
> David
> 

I got gdc compiled using gcc-3.3.3 and gcc-3.4.0, but I can't get phobos to be configured correctly.

./configure outputs:
...
...
configure: configuring in boehm-gc
configure: running /bin/sh './configure' --prefix=/usr/local  'CC=gcc' 'CXX=g++' --cache-file=/dev/null --srcdir=.
configure: warning: CC=gcc: invalid host type
configure: warning: CXX=g++: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: /bin/sh './configure' failed for boehm-gc

Stephan

April 24, 2004
Try unsetting the 'CC' and 'CXX' environment variables before running configure.  Phobos should be built with the same version of gcc/g++/gdc.

Stephan Wienczny wrote:

> David Friedman wrote:
> 
>> Phew! The web page has been updated with a new release.  Major highlights:
>>
>> * Reported crashes have been fixed
>> * Update to 0.82
>> * Compiler no longer requires long double floating point routines
>> * Included parts of the Boehm garbage collector to get the stack and
>>   data extents.
>>
>> The compiler and library now build on Cygwin and FreeBSD.  Other Unix-like environments should work too.
>>
>> David
>>
> 
> I got gdc compiled using gcc-3.3.3 and gcc-3.4.0, but I can't get phobos to be configured correctly.
> 
> ./configure outputs:
> ...
> ...
> configure: configuring in boehm-gc
> configure: running /bin/sh './configure' --prefix=/usr/local  'CC=gcc' 'CXX=g++' --cache-file=/dev/null --srcdir=.
> configure: warning: CC=gcc: invalid host type
> configure: warning: CXX=g++: invalid host type
> configure: error: can only configure for one host and one target at a time
> configure: error: /bin/sh './configure' failed for boehm-gc
> 
> Stephan
> 

« First   ‹ Prev
1 2 3