This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem building gcc-2.95.3 and binutils-2.10.1 at the same time
- To: gcc-help at gcc dot gnu dot org
- Subject: Problem building gcc-2.95.3 and binutils-2.10.1 at the same time
- From: g1yi8oodhv001 at sneakemail dot com
- Date: 23 Mar 2001
Hi,
I am trying to build gcc-2.95.3 and binutils-2.10.1 at the same time as described in the install instructions (download section). OS is Solaris 2.6 on Sparc.
The problem that I have is that I don't know how to set up the links to binutils, gas, libiberty, etc. in the gcc-2.95.3 directory.
What do I do with the include directory? If I use the one from gcc I get compilation errors. If I use the one from binutils I get compilation errors in other places during "make bootstrap"
Errors look like:
gcc -DIN_GCC -DHAIFA -DSVR4 -g -DHAVE_CONFIG_H -I. -I../../gcc-2.95.3/gcc -I../../gcc-2.95.3/gcc/config -I../../gcc-2.95.3/gcc/../include \
-DTARGET_MACHINE=\"sparc-sun-solaris2.6\" \
-c `echo ../../gcc-2.95.3/gcc/collect2.c | sed 's,^\./,,'`
../../gcc-2.95.3/gcc/collect2.c:57: conflicting types for `make_temp_file'
../../gcc-2.95.3/gcc/../include/libiberty.h:69: previous declaration of `make_temp_file'
Was anybody successful compiling both at the same time? If so, how did you set up the links?
Please Cc: me too as I am not on the list yet.
Thanks,
Kras
-----------------------------------------------------
Protect yourself from spam, use http://sneakemail.com