[uClibc]trying to xcompile for m68k-pic-coff

ken at 246gt.com ken at 246gt.com
Sun Sep 16 20:17:40 UTC 2001


i am trying to compile uclibc (cvs version) for m68k-pic-coff.

i am using the binutils-2.9.1 with uclinux patch (no rev level?) and gcc-2.7.2.3 with the uclinux pic patch and the pic32 patch. i also have coff2flt and have rplaced the ld in m68k-pic-coff with a script that runs it and then gld.

my Config settings are:
TARGET_ARCH=m68k
NATIVE_CC = gcc
CROSS = m68k-pic-coff-
CC = $(CROSS)gcc
AR = $(CROSS)ar
LD = $(CROSS)ld
NM = $(CROSS)nm
STRIPTOOL = $(CROSS)strip
DODEBUG = false
WARNINGS=-Wall
KERNEL_SOURCE=/opt/uClinux/linux
HAS_MMU = false
HAS_FLOATING_POINT = true
HAS_LIBM_FLOAT = true
HAS_LIBM_DOUBLE = true
HAS_LIBM_LONG_DOUBLE = true
HAS_LONG_LONG = true
HAS_LOCALE = false
LOCALE_DIR = "/opt/uClinux/share/uClibc-locale/"
MALLOC = malloc-simple
UNIFIED_SYSCALL = false
DOLFS = false
INCLUDE_RPC = true
INCLUDE_IPV6 = false
DOPIC = false
ARCH_CFLAGS  = -Wa,--bitwise-or -msoft-float
ARCH_CFLAGS2 = -I$(KERNEL_SOURCE)/include
OPTIMIZATION = $(DEBUG_CFLAGS)
HAVE_ELF = false
HAVE_SHARED = false
BUILD_UCLIBC_LDSO=false
DEVEL_PREFIX = /m68k-pic-coff
SYSTEM_DEVEL_PREFIX = /
PREFIX = /opt/uClinux

at first "make -f file" complained about no file directory present and died, so i removed the reference to a file subdir from libc/misc/Makefile.

and then the results are not too encouraging:

make[3]: Entering directory `/opt/uClinux/uClibc/libc/misc/time'
m68k-pic-coff-gcc -Wa,--bitwise-or -msoft-float -Wall  -fno-builtin -nostdinc  -I../../../include -I/opt/uClinux/lib/gcc-lib/m68k-pic-coff/2.7.2.3-pic-060999/include -I. -D_LIBC  -I/opt/uClinux/linux/include -DNDEBUG  -c strftime.c -o strftime.o
strftime.c: In function `strftime':
strftime.c:398: internal error--insn does not satisfy its constraints:
(insn 1059 19 1060 (set (reg:SI 4 %d4)
        (plus/u:SI (pc:SI)
            (symbol_ref/v:SI ("weekday_name")))) 34 {movsi+1} (nil)
    (nil))
m68k-pic-coff-gcc: Internal compiler error: program cc1 got fatal signal 6

well, i am out of my depths here and know no assembler ("why, then, are you trying to cross-compile an embedded development environment?", you may ask? the answer: because i am a moron).

so if anyone would like to suggest how i may fix this, i'd greatly appreciate it.

thanks!

-ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20010916/e821fd07/attachment.pgp 


More information about the uClibc mailing list