Kalle Vahlman wrote:
- tweak the config with 'make menuconfig HOSTCC=host-gcc'
- build the image with 'make HOSTCC=host-gcc'

I'm not sure if the HOSTCC is needed for 'make', but make menuconfig
most likely needs it (to find ncurses).


Tried the trick with host-gcc but it doesn't work for me in vmware maemo appliance upgraded to bora 3.1. Tried both in arm and x86 targets. I wonder what is broken with host-gcc here

[sbox-SDK_X86: ~/kernel-source-rx-34-2.6.18] > host-gcc
/scratchbox/compilers/bin/host-gcc: Too many open files

[sbox-SDK_ARMEL: ~] > host-gcc
/scratchbox/compilers/bin/host-gcc: Too many open files

[sbox-SDK_ARMEL: ~] > ls -l /scratchbox/compilers/bin/host-gcc
lrwxrwxrwx 1 root root 14 Jan 19 19:59 /scratchbox/compilers/bin/host-gcc -> sb_gcc_wrapper


What works for me for 'make menuconfig' is commenting three lines in

scripts/kconfig/lxdialog/check-lxdialog.sh

to echo -lncurses always

#       $cc -print-file-name=libncurses.so | grep -q /
#       if [ $? -eq 0 ]; then
                echo '-lncurses'
                exit
#       fi

This allows make menuconfig to run inside arm target.

Frantisek
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to