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



I read somewhere in the archives for this mailing list that it is
recommended that libc
be used with C++ programs.

I have just installed the Developer Board LX Release 1.0.0 and
cris-dist-1.1.1 compilers using the available rpm.  Compiling the 2.4.3
kernel went without
a hitch and it worked first time.

I read somewhere that the new cris compiler comes with a C++ library and an

I tried to compile and install libc but without success...  I'm not sure if
I did this correctly
but basically it looked like it didn't like the compiler options... this
was the error
after trying to compile "lib-glibc-R28"

) | gcc-cris -O2 -melinux ../s-proto.d -c -O2 -Wall -Winline
-Wno-parentheses -W
strict-prototypes -Wwrite-strings -g     -I. -I.. -I../libio
/unix -I../linuxthreads/sysdeps/unix/sysv/linux
d -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
hreads/sysdeps/etrax -I../linuxthreads/sysdeps/pthread/no-cmpxchg
nix/sysv/linux/etrax -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/etrax
2 -I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic
ps/stub  -D_LIBC_REENTRANT -include ../libc-symbols.h     -x c -o kill.o -
gcc-cris: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [kill.o] Error 1
make[1]: Leaving directory
make: *** [signal/subdir_lib] Error 2

I've had a look at the gnu libc page and there is a much newer library
glibc 2.2.2 available
and works with cris.  It's about a 13 MB download.  I'm going to try and
use it however
is it too large to use on the development boards?

Or am I just totally off on a tangent and don't need to worry about any of