Thread overview
GCC 4.0.0 Support
Jun 13, 2005
D. Trebbien
Jun 13, 2005
David Friedman
Re: GCC 4.0.0 Support - modifications.tar.bz2
Jun 14, 2005
D. Trebbien
Jun 14, 2005
D. Trebbien
June 13, 2005
Is there support for GCC-4.0.0?


June 13, 2005
D. Trebbien wrote:
> Is there support for GCC-4.0.0?
> 
> 

Not yet, but I am currently working on it.

David
June 14, 2005
In article <d8kv1t$2imd$1@digitaldaemon.com>, David Friedman says...
>
>D. Trebbien wrote:
>> Is there support for GCC-4.0.0?
>> 
>> 
>
>Not yet, but I am currently working on it.
>
>David

I have modified some things using the 3.4.3 gcc patch as a model; they seem to work, but there might be other issues with gdc code and gcc 4.0.0. I don't know how to use the patch utility, so I will just attach the modifications I made.

Using:
MSYS 1.0.10
MinGW 4.1
gcc-core-4.0.0
g++-4.0.0
gdc-0.13

Notes:
The files in modifications.tar.bz2 need to be extracted to the gcc-4.0.0 folder
(I will refer to this as '<main>/').

Copy the folder <main>/gcc/d/phobos to <main>/libphobos

Create the folder <main>/obj. Chdir into <main>/obj, run main configure script
like this:
./configure
with options that you want... I used `--prefix=/c/mingw/src/build
--enable-languages=c,c++,d`; to be honest, I don't understand what the --prefix
part is all about (would someone explain this?)

Copy the folder <main>/gcc/config to <main>/obj/gcc/config
Copy all header files in the directory <main>/gcc/ to <main>/obj/gcc
(see https://sourceforge.net/forum/message.php?msg_id=3114120 for more
information about this)

(while in <main>/obj) Run make:
make bootstap

(wait a few hours)

Unfortunately, make terminates with a large number of errors in <main>/gcc/d/d-lang.cc.

Any ideas?


June 14, 2005
In article <d8lfe7$2uki$1@digitaldaemon.com>, D. Trebbien says...
>
>In article <d8kv1t$2imd$1@digitaldaemon.com>, David Friedman says...
>>
>>D. Trebbien wrote:
>>> Is there support for GCC-4.0.0?
>>> 
>>> 
>>
>>Not yet, but I am currently working on it.
>>
>>David
>
>I have modified some things using the 3.4.3 gcc patch as a model; they seem to work, but there might be other issues with gdc code and gcc 4.0.0. I don't know how to use the patch utility, so I will just attach the modifications I made.
>
>Using:
>MSYS 1.0.10
>MinGW 4.1
>gcc-core-4.0.0
>g++-4.0.0
>gdc-0.13
>
>Notes:
>The files in modifications.tar.bz2 need to be extracted to the gcc-4.0.0 folder
>(I will refer to this as '<main>/').
>
>Copy the folder <main>/gcc/d/phobos to <main>/libphobos
>
>Create the folder <main>/obj. Chdir into <main>/obj, run main configure script
>like this:
>./configure
>with options that you want... I used `--prefix=/c/mingw/src/build
>--enable-languages=c,c++,d`; to be honest, I don't understand what the --prefix
>part is all about (would someone explain this?)
>
>Copy the folder <main>/gcc/config to <main>/obj/gcc/config
>Copy all header files in the directory <main>/gcc/ to <main>/obj/gcc
>(see https://sourceforge.net/forum/message.php?msg_id=3114120 for more
>information about this)
>
>(while in <main>/obj) Run make:
>make bootstap
>
>(wait a few hours)
>
>Unfortunately, make terminates with a large number of errors in <main>/gcc/d/d-lang.cc.
>
>Any ideas?
>


Oops,
make bootstrap
^