Homepage Wiki Forum Buy

Anjuta C/C++

From GNUBLIN

Contents

Anjuta is a free C/C++ IDE. It offers a lot of features of a modern development environment. It may be used for programming GNUBLIN. You can get Anjuta from http://www.anjuta.org/

Creating a Project

With the Project Wizard you create a C or C++ consoleapplication. Afterwards you'll find the following file in the mainfolder if the project:

configure.ac 

you must edit this file (best right after AC_PROG_CXX) in the case of C++ or arm-linux-gnueabi-gcc in c


AC_PATH_PROG(CC_PATH, $CC, NO_PATH)
if test "$CC_PATH" = NO_PATH; then
 CC="arm-linux-gnueabi-g++"
fi


In addition, under

Create -> Project configuration


Under Options configure add this option:

--host=arm-linux-gnueabi- 

Anjuta optionen.png

Now you must click execute once und from now now on the project will be compiled with the new compiler.

In other languages