From: Stephen D. <st...@da...> - 2000-12-16 12:54:20
|
Hi, Just trying seriously to get to grips with linux-7110 So far I have the emdebian cross-compilation environment on my host, and have successfully compiled the kernel. On a CF card I've unpacked the contents of initrd3 onto an ext2 partition, installed Arlco, kernel onto a DOS partition. All that successfully booted on my series 5 - so far so good. Next step was to cross-compile some apps. I successfully built busybox. Where there has been thought to cross-compiling in the Makefile. Next bash - which uses autoconf. I used this strategy: I assumed that the ARM Linux environment is quite similar to my PC Linux host from an autoconf point of view. So I ./configured as normal, then removed the ac_cv_prog_... entries from the config.cache, set CC, AR and RANLIB to the arm-linux-... programs, and re-./configured. That seemed to go OK, with most things being found in the cache. make went OK until it tried to link - where libtermcap could be found. And, indeed, it isn't in the emdebian package, nor in initrd3. There, is, however, an /etc/termcap in initrd3 - how's it used without the library? So - here the questions start: I am always terminally (groan) confused in the muddle of termcap, termio, curses, ncurses and all that. Is termcap in the standard glibc library? (if so, how do I find out?) Is this problem because my approach to configuring bash was bogus? (if so, pointers to the right approach to cross-compiling with autoconf?) Can anyone provide some pointers to get me back on track? Thanks, Steve |