Forum Discussion
Altera_Forum
Honored Contributor
20 years agohow I "set the BUILD_CC environment variable "?
hi all: I am porting ncurses-5.5 to nios2 uclinux now. Frist I edit configure.sub add " | nios2 " in the "case $basic_machine in" then I run: ./configure --build=nios2 --with-...
Altera_Forum
Honored Contributor
20 years agochange "--with-shared" to "--disable-shared" in the configure command of the ~/buildroot/package/ncurses/ncurses.mk . You will need to removed the so (shared object) building.
The uClinux-dist (-test) has ncurses lib too. You'd better use this one, which is ported to uClinux. Check the library selection. As a general rule, when you need lib or apps, check the uClinux-dist first. Most lib or apps ports in buildroot are shared objects, which is not supported in current nios2. You have to modify the mk files to remove shared.