very weird erros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



GccHelp,

I'm attempting to build a gcc cross-compiler on a solaris2.9 machine. I've downloaded binutils-2.5.2 and am configuring it according to the instructions on:

http://www.comp.nus.edu.sg/~panyu/simplesim.htm

using


./configure --host=sparc-sun-solaris2.9 --target=ssbig-na-sstrix --with-gnu-as --with-gnu-ld --prefix=$IDIR

and then when I do a 'make all install' I get some really messed up errors that I can't find any documentation on:

echo "# !Automatically generated from ./functions.def"\
"- DO NOT EDIT!" >needed2.awk
grep '^DEFVAR(' < ./functions.def \
| sed -e '/DEFVAR/s|DEFVAR.\([^,]*\).*|/\1/ { printf "#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' \
>>needed2.awk
grep '^DEFFUNC(' < ./functions.def \
| sed -e '/DEFFUNC/s|DEFFUNC.\([^,]*\).*|/\1/ { printf "#ifndef NEED_\1\\n#define NEED_\1\\n#endif\\n" }|' \
>>needed2.awk
gcc -c -g -I. -I./../include -DHAVE_SYSCONF ./dummy.c 2>/dev/null
*** Error code 1
make: Fatal error: Command failed for target `dummy.o'
Current working directory /pong/usr0/n/nlindber/simplesim/binutils-2.5.2/libiberty
*** Error code 1
make: Fatal error: Command failed for target `all-libiberty'

I have no idea what is causing this error...

The OTHER problem I'm having is that I have a previous cross compiler executeable, that since I've been messing with trying to build the bin-utils, is not working correctly at all. I'm getting these errors:

In file included from /usr/include/sys/feature_tests.h:15,
from /usr/include/signal.h:19,
from decContext.h:43,
from decNumber.h:30,
from cDivide.c:29:
/usr/include/sys/isa_defs.h:372:2: #error "ISA not supported"
In file included from /afs/engr.wisc.edu/oss/gcc-3.3.4/sun4x_59/lib/gcc-lib/sparc-sun-solaris2.9/3.3.4/include/syslimits.h:30,
from /afs/engr.wisc.edu/oss/gcc-3.3.4/sun4x_59/lib/gcc-lib/sparc-sun-solaris2.9/3.3.4/include/limits.h:11,
from decContext.h:44,
from decNumber.h:30,
from cDivide.c:29:
/usr/include/iso/limits_iso.h:51:2: #error "chars are signed or unsigned"

Could this have something to do with all the ./configure things I'm doing? Given, gcc still works fine on the machine.

Thanks a bunch--
Nick

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux