[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Port to Syllable : configure question
From: |
Kristian Van Der Vliet |
Subject: |
Port to Syllable : configure question |
Date: |
Sat, 25 Oct 2003 15:52:32 -0400 |
Hi,
I'm currently porting Glibc to the Syllable operating system. We already
have a port of Glibc 2.1 which for various reasons, we are not going to
maintain and cannot merge back into the main Glibc tree. At the moment I am
working with Glibc 2.3.2 on a Linux machine (Our port of GCC 3 is not
complete yet, and 2.95 is too old)
It's coming on nicely at the moment but I have a problem. Syllable has an
"in kernel" ELF loader & RTLD, so we do not want anything that is in the elf/
directory (We probably don't want anything in dlfcn/ either, but that can
wait). I cannot simply set $elf=no as $elf implies all sorts of things that
we do want. What I have done so far is modify Makeconfig to:
# We have a special subdir for each binary format.
# For now, only ELF is fully supported.
ifeq ($(elf),yes)
# Syllable has a kernel ELF loader and uses its own libdl so we don't need
# to build any of the Glibc ELF stuff
ifneq ($(config-os),syllable)
binfmt-subdir = elf
endif
else
# This is probably better than nothing.
binfmt-subdir = aout
endif
..which means $(binfmt-subdir) is "" and the elf directory is not included as
part of all-subdirs. This doesn't seem to work as I had hoped though, as
after a while I still get the error:
: /home/user/glibc-configure/libc_nonshared.a
i586-unknown-syllable-gcc elf/soinit.c -c -std=gnu99 -O2 -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -g -fPIC -Iinclude -I.
-I/home/user/glibc-configure -Ilibio -I/home/user/glibc-configure
-Isysdeps/i386/elf -Isysdeps/unix/sysv/syllable/i386
-Isysdeps/unix/sysv/syllable -Isysdeps/gnu -Isysdeps/unix/common
-Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 -Isysdeps/unix/sysv
-Isysdeps/unix/i386 -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i586
-Isysdeps/i386/i486 -Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32
-Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32
-Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -nostdinc -isystem
/usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/include -isystem
/home/user/src/include/ -include include/libc-symbols.h -DPIC -DSHARED
-o /home/user/glibc-configure/elf/soinit.os
Assembler messages:
FATAL: can't create /home/user/glibc-configure/elf/soinit.os: No such file or
directory
make[1]: *** [/home/user/glibc-configure/elf/soinit.os] Error 1
make[1]: Leaving directory `/home/user/glibc-2.3.2'
make: *** [all] Error 2
address@hidden glibc-configure]$
The error "FATAL: can't create /home/user/glibc-configure/elf/soinit.os: No
such file or directory" is quite correct; no ~/glibc-configure/elf/
diirectory is created for the object files to be placed, but obviously I
don't want it to even try and build elf/soinit.c & friends at all.
At the moment I am groping my way around the Makefiles & configure scripts to
try and catch the culprit, but I'm at a loss. Is there something obvious I
have missed, or do some Makefiles implicitly assume the elf directory, rather
than using $(binfmt-subdir)?
--
Vanders
http://www.liqwyd.com
http://syllable.sourceforge.net
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Port to Syllable : configure question,
Kristian Van Der Vliet <=