ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am trying to cross compile ncurses for an arm-processor under uClinux. I have been having a lot of problems with that, and my last try was to install ncurses.5.4 under uClinux/uClibc 'casue when i selected the "ncurses-library support" option compiling the uClinux kernel (make menuconfig), it did not work (basically because the ncurses libraries were installed under glibc instead uClibc).
When i run a script (see below) to configure ncurses-5.4 i get the following error:
Configuring NCURSES 5.4 ABI 5 (Wed Sep 14 17:36:37 CEST 2005)
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-elf
checking target system type... arm-unknown-elf
Configuring for elf
checking for prefix... /home/juan/Desktop/Downloads/uClinux-dist/uClibc/ncurses
checking for arm-elf-gcc... arm-elf-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
Although i have tried different configurations of this script i have not yet succeeded. I would really be grateful if somebody can give me a hand.
# CC C compiler command
# CPP C preprocessor
# CXX C++ compiler command
# CXXCPP C++ preprocessor
# CFLAGS C compiler flags
# LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
# nonstandard directory <lib dir>
# CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
# headers in a nonstandard directory <include dir>
# CXXFLAGS C++ compiler flags
With this script i just wanted to configure the ncurses specifying basically the compiler and the flags that must be used in order to compile and link a program that uses the ncurses libraries. My intention is to execute a program based on ncurses after configuring ncurses and compiling uClinux in a proper way.
Regarding to the step-by-step for building uSTEP, i am afraid that i could not find that such a document, could you please tell me a little bit clearer where you found that document?