www.digitalmars.com         C & C++   DMDScript  

D.gnu - help with building gdc

reply Denis R <denis_r telkomsa.net> writes:
Hello,

Can i ask for some gcc/gdc compilation help, 

Im trying to compile my gcc/gdc, and , i applied patch and all, but when I try
to configure ./configure --prefix=/devel/compilers --enable-languages=c,c++,d,
from gcc-3.4.4 dir, it fails right away.  Is this right place to run that
configre ? 
I've tried also in gcc-3.4.4/gcc, and it runs and all, but then after I run
make, compilation breaks later on.

mak bootstrap starts, but then fails later on.
Jun 11 2005
next sibling parent Denis R <denis_r telkomsa.net> writes:
Oopsie, sorry, my setup problem.

Now its corrected. Lets see if its gonna build ..


On Sat, 11 Jun 2005 21:57:07 +0200
Denis R <denis_r telkomsa.net> wrote:

 Hello,
 
 Can i ask for some gcc/gdc compilation help, 
 
 Im trying to compile my gcc/gdc, and , i applied patch and all, but when I try
to configure ./configure --prefix=/devel/compilers --enable-languages=c,c++,d,
from gcc-3.4.4 dir, it fails right away.  Is this right place to run that
configre ? 
 I've tried also in gcc-3.4.4/gcc, and it runs and all, but then after I run
make, compilation breaks later on.
 
 mak bootstrap starts, but then fails later on.
Jun 11 2005
prev sibling parent reply "Gerrit P. Haase" <gerrit familiehaase.de> writes:
Denis R wrote:

 Hello,
 
 Can i ask for some gcc/gdc compilation help, 
 
 Im trying to compile my gcc/gdc, and , i applied patch and all, but when I try
to configure ./configure --prefix=/devel/compilers --enable-languages=c,c++,d,
from gcc-3.4.4 dir, it fails right away.  Is this right place to run that
configre ? 
 I've tried also in gcc-3.4.4/gcc, and it runs and all, but then after I run
make, compilation breaks later on.
 
 mak bootstrap starts, but then fails later on.
You must build outside of the source directory, make a directory $ ls gcc-3.4.4 $ mkdir build $ cd build $ ../gcc-3.4.4/configure --options ... $ make bootstrap $ make install Ciao, Gerrit
Jun 11 2005
parent Denis R <denis_r telkomsa.net> writes:
Yes, i've read it now now :P

Thanks for help.

Its built now.

I had however another problem: b/s I have x86_64 amd, I had to linux32 chroot
/my32bitsys first. That helped too :)




On Sat, 11 Jun 2005 22:42:57 +0200
"Gerrit P. Haase" <gerrit familiehaase.de> wrote:

 Denis R wrote:
 
 Hello,
 
 Can i ask for some gcc/gdc compilation help, 
 
 Im trying to compile my gcc/gdc, and , i applied patch and all, but when I try
to configure ./configure --prefix=/devel/compilers --enable-languages=c,c++,d,
from gcc-3.4.4 dir, it fails right away.  Is this right place to run that
configre ? 
 I've tried also in gcc-3.4.4/gcc, and it runs and all, but then after I run
make, compilation breaks later on.
 
 mak bootstrap starts, but then fails later on.
You must build outside of the source directory, make a directory $ ls gcc-3.4.4 $ mkdir build $ cd build $ ../gcc-3.4.4/configure --options ... $ make bootstrap $ make install Ciao, Gerrit
Jun 11 2005