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

glibc



Hi,

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
STL?

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
-I../crypt/sysdeps
/unix -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthrea
d -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxt
hreads/sysdeps/etrax -I../linuxthreads/sysdeps/pthread/no-cmpxchg
-I../sysdeps/u
nix/sysv/linux/etrax -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/
unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv
 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/etrax
-I../sysdeps/wordsize-3
2 -I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic
-I../sysde
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
`/home/matthewh/axis/devboard_lx/libs/glibc/signal'
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
this?

Matt.