www.digitalmars.com         C & C++   DMDScript  

D.gnu - GCC 4.0.0 Support

reply D. Trebbien <D._member pathlink.com> writes:
Is there support for GCC-4.0.0?
Jun 12 2005
parent reply David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net> writes:
D. Trebbien wrote:
 Is there support for GCC-4.0.0?
 
 

Not yet, but I am currently working on it. David
Jun 13 2005
parent reply D. Trebbien <D._member pathlink.com> writes:
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?
Jun 13 2005
parent D. Trebbien <D._member pathlink.com> writes:
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 ^
Jun 13 2005