public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* 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).