Compilation problem

Daniel Carrera dcarrera@gmail.com
Mon Aug 22 11:09:00 GMT 2011


Hello,

I am trying to compile the latest sources from GCC trunk. This is what I 
did:

--------------------------%<--------------------------
$ cd gcc-trunk
$ mkdir build
$ cd build

$ ../configure --enable-languages=c,fortran --disable-bootstrap

$ make
--------------------------%<--------------------------


After I run make the sources compile for several hours so everything 
looks fine, but eventually the compilation terminated with the following 
error:

--------------------------%<--------------------------
make[2]: *** No rule to make target 
`../../../libgcc/../gcc/config/soft-fp/addtf3.c', needed by `addtf3.o'. 
  Stop.
make[2]: Leaving directory 
`/home/daniel/Other/GCC/hg-trunk/build/i686-pc-linux-gnu/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/daniel/Other/GCC/hg-trunk/build'
make: *** [all] Error 2
--------------------------%<--------------------------


This looks very odd... I can't imagine that someone just forgot to add a 
Make target. So I searched for the file and found it here:


% find .. -name addtf3.c
../libgcc/soft-fp/addtf3.c



In other words, I have the right file but "make" is looking for it in 
the wrong place! I'm not really sure what to do about this. Does anyone 
have a suggestion?


Cheers,
Daniel.
-- 
I'm not overweight, I'm undertall.



More information about the Fortran mailing list