* question compile newlib with egcs
@ 1998-12-08 23:06 jong yoon im
0 siblings, 0 replies; only message in thread
From: jong yoon im @ 1998-12-08 23:06 UTC (permalink / raw)
To: egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4484 bytes --]
I had encounterd some problems. But i
could't find anything to make these problems.
Â
I'm working on Linux RedHat 5.1/Intel
CPU.
Â
When i compiled NewLib-1.8.1 by egcs-1.0.2 which
had ported our own designed CPU.
Â
 When i compile <k_standard.c> which
is newlib/libm/math/ ,
              Â
it generated some errors as following.
Â
 make[2]: Entering directory
`/usr/src/egcs/build-ae32000-elf/ae32000-elf/newlib/libm' Â make[3]:
Entering directory
`/usr/src/egcs/build-a32000-elf/ae32000-elf/newlib/libm/math' Â /usr/src/egcs/build-ae32000-elf/gcc/xgccÂ
-nostdinc \ Â -B/usr/src/egcs/build-ae32000-elf/gcc/
\ Â -idirafter
/usr/src/egcs/build-ae32000-elf/ae32000-elf/newlib/targ-include
\ Â -idirafter /usr/src/egcs/egcs-1.0.2/newlib/libc/include
\ Â -O2 -g -fno-builtin \
 -I/usr/src/egcs/build-ae32000-elf/ae32000-elf/newlib/./targ-include
\ Â -I/usr/src/egcs/egcs-1.0.2/newlib/./libc/include \
 -I/usr/local/lib/gcc-lib/ae32000-elf/egcs-2.90.27/include -c
./k_standard.c   In file included from
../../../../../egcs-1.0.2/newlib/libm/math/k_standard.c:19: Â
/usr/src/egcs/egcs-1.0.2/newlib/libc/include/stdio.h:144:
              Â
parse error before `__gnuc_va_list' Â
/usr/src/egcs/egcs-1.0.2/newlib/libc/include/stdio.h:145:
              Â
parse error before `__gnuc_va_list' Â
/usr/src/egcs/egcs-1.0.2/newlib/libc/include/stdio.h:146:
              Â
parse error before `__gnuc_va_list' Â
/usr/src/egcs/egcs-1.0.2/newlib/libc/include/stdio.h:174:
              Â
parse error before `__gnuc_va_list' Â
/usr/src/egcs/egcs-1.0.2/newlib/libc/include/stdio.h:219:
              Â
parse error before `__gnuc_va_list' Â
/usr/src/egcs/egcs-1.0.2/newlib/libc/include/stdio.h:220:
              Â
parse error before `__gnuc_va_list' Â
/usr/src/egcs/egcs-1.0.2/newlib/libc/include/stdio.h:221:Â
              Â
parse error before `__gnuc_va_list' Â make[3]: *** [k_standard.o] Error
1 Â make[3]: Leaving directory
`/usr/src/egcs/build-ae32000-elf/ae32000-elf/newlib/libm/math' Â
make[2]: *** [math/lib.a] Error 1 Â make[2]: Leaving directory
`/usr/src/egcs/build-ae32000-elf/ae32000-elf/newlib/libm' Â make[1]: ***
[libm/libm.a] Error 2 Â make[1]: Leaving directory
`/usr/src/egcs/build-ae32000-elf/ae32000-elf/newlib' Â make: ***
[all-target-newlib] Error 2
Â
Â
================================================================================= Â
By the way, when i had splitted compile-command to make intermediate code,
 and compiled the intermediate code then it is pretty compiled without
 asserted any error message. Â
=================================================================================
Â
 /usr/src/egcs/build-ae32000-elf/gcc/cccp
\ Â
-idirafter/usr/src/egcs/build-ae32000-elf/ae32000-elf/newlib/targ-include
\ Â -idirafter /usr/src/egcs/egcs-1.0.2/newlib/libc/include -nostdinc
\ Â -I/usr/local/lib/gcc-lib/ae32000-elf/egcs-2.90.27/include/
\ Â -I/usr/src/egcs/build-ae32000-elf/ae32000-elf/newlib/./targ-include
\ Â -I/usr/src/egcs/egcs-1.0.2/newlib/./libc/include ./k_standard.c -o
k_standard.i   /usr/src/egcs/build-ae32000-elf/gcc/cc1
\ Â /usr/src/egcs/build-ae32000-elf/ae32000-elf/newlib/targ-include
\ Â /usr/src/egcs/egcs-1.0.2/newlib/libc/include -O2Â -g
-fno-builtin  \  ./k_standard.i
Â
 PLEASE! give me some informations to
solve these problems. I had spent a few days for  solving these
problems but could't find.
Â
Â
--------------------------------------------------
Â
Â
 =============================================================  JongYoon
Im                                      Â
Asia Design Co. Lab 2      jylim@adc.co.kr  sazabi@chollian.net Â
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-12-08 23:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-08 23:06 question compile newlib with egcs jong yoon im
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).