but after opkg install /root/yun-gcc_4.6.2-2_ar71xx.ipk -V 3
the installation seems stuck. More precisely this is the last part of the output
check_data_file_clashes: Replacing pre-existing file /usr/libexec/gcc/mips-openwrt-linux-uclibc/4.6.2/cc1 owned by package yun-gcc
opkg_install_pkg: Installing maintainer scripts.
opkg_install_pkg: Installing data files for yun-gcc.
install_data_files: Extracting data files to /.
I have been waiting for almost two hours but nothing.
Did you insert a large enough SD card and run the YunDiskExpander sketch to expand the root file system onto the SD card? And if you did that, do you have the SD card currently installed? (Once you expand onto the SD card, you must always have the SD card inserted and never remove it while the system is running.)
There isn't enough space on the internal file system to install gcc, you must expand onto external storage first.
I don't know the minimum required size, I just know it doesn't fit into the on-board flash.
Other than knowing it takes a lot of space, I don't really know anything else about the process of installing gcc. I just wanted to cover the simplest case. Sorry, but someone else is going to have to step forward and help...