View mode: basic / threaded / horizontal-split · Log in · Help
April 23, 2004
GDC release 1f
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
Re: GDC release 1f
> 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
Re: GDC release 1f
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
Re: GDC release 1f
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
Re: GDC release 1f
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
Re: GDC release 1f
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
Re: GDC release 1f
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
Re: GDC release 1f
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
Re: GDC release 1f
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
Re: GDC release 1f
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
Top | Discussion index | About this forum | D home