* very weird erros
@ 2004-11-10 2:15 Nick Lindberg
0 siblings, 0 replies; only message in thread
From: Nick Lindberg @ 2004-11-10 2:15 UTC (permalink / raw)
To: gcc-help; +Cc: Michael Schulte
[-- Attachment #1: Type: text/plain, Size: 2324 bytes --]
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
[-- Attachment #2: Type: text/enriched, Size: 2546 bytes --]
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
<bold><fixed><fontfamily><param>Courier New</param><bigger><bigger>
./configure --host=sparc-sun-solaris2.9 --target=ssbig-na-sstrix
--with-gnu-as --with-gnu-ld --prefix=$IDIR
</bigger></bigger></fontfamily></fixed></bold>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<bold><fixed><fontfamily><param>Courier New</param><bigger><bigger>
</bigger></bigger></fontfamily></fixed></bold>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-10 2:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-10 2:15 very weird erros Nick Lindberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).