This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

--with-newlib option


Hi,

I tried to build the gcc-2.95.2 using the --with-newlib option, because I
got the __eprintf unresolved external on trying to link the library with CC
that I previously build with gcc.

I read that if I rebuild my gcc with --with-newlib option that would
illuminate  __eprintf problem.

That's exactly what I did except I got the the same unresolved external
trying to build gcc

Here is the error

../stage1/xgcc -B../stage1/ -B/usr/local/sparc-sun-solaris2.7/bin/ -DIN_GCC
-DHAIFA  -DSVR4  -O2 -g  -DHAVE_CONFIG_H  -o fini fini.o proj-h.o
Undefined                       first referenced
 symbol                             in file
__eprintf                           fini.o
ld: fatal: Symbol referencing errors. No output written to fini
collect2: ld returned 1 exit status
make[3]: *** [fini] Error 1
make[3]: Leaving directory
`/export/home/alex/download/gcc-2.95.2/objdir/gcc/f'
make[2]: *** [f771] Error 2
make[2]: Leaving directory
`/export/home/alex/download/gcc-2.95.2/objdir/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory
`/export/home/alex/download/gcc-2.95.2/objdir/gcc'
make: *** [bootstrap] Error 2

Any suggestions? 

Thanks,
Alex Fridman
Automated Financial Systems
(212)771-1923 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]