Re: porting arcboot
From: Florian Lohoff <hidden>
Date: 2003-02-11 22:48:36
Attachments
- (unnamed) [application/pgp-signature] 232 bytes
From: Florian Lohoff <hidden>
Date: 2003-02-11 22:48:36
On Tue, Feb 11, 2003 at 09:39:55AM +1100, Andrew Clausen wrote:
e2fsprogs looks like it resists cross-compiling also :( So, the obstacles are: * e2fsprogs uses libc headers quite extensively, but there is no glibc available for mips64 (right?). It also seems to make quite a few libc calls? (How are you planning to deal with that? Link against it statically? What about syscalls?) * e2fsprogs doesn't use autoconf/automake "properly". It doesn't seem to support cross-compiling. Adding cross-compile support looks somewhat non-trivial, since it builds it's own tools to compile itself. (A fancy sed replacement, for some reason?) * there is no toolchain to build e2fsprogs on mips64 cleanly... need to do that objcopy business. This means hacking the build process?
You dont need e2fsprogs - Just certain parts of the libe2fs which itself
just uses some very basic libc functions like malloc/free/str* which
we all have within arcboot. So you simple need to cross-compile the
libe2fs.
Flo
--
Florian Lohoff flo@rfc822.org +49-5201-669912
Heisenberg may have been here.