This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Undefined reference to '_ctype_'
- From: "Doug Broadwell" <dougb at value dot net>
- To: "Newlib Mail List" <newlib at sources dot redhat dot com>
- Date: Fri, 18 Oct 2002 10:45:33 -0700
- Subject: Undefined reference to '_ctype_'
- Organization: DBA Associates
- Reply-to: "Doug Broadwell" <dougb at value dot net>
Hi,
I'm getting an "Undefined reference to _ctype_ " error in various newlib
files (e.g., .../libc/stdio/vfscanf.c) on code using the "isspace()" family
of functions/macros. My command line is:
$GCCBIN/m68k-coff-gcc -nostartfiles -O0 -m68000 -msoft-float -fno-builtin -X
linker -T -Xlinker \
./proto.ld -o so_monitor.coff main.c stubs.c so_monitor.c \
$GCCBASE/m68k-coff/lib/m68000/libc.a
Thanks,
Doug Broadwell