Poky Anjuta plug-in

Poky provides an plug-in for developing using Anjuta IDE, follow the next steps form building the plug-in:

Checkout the latest version

svn co http://svn.o-hand.com/repos/anjuta-poky/trunk anjuta-plugin-sdk
cd anjuta-poky-plugin-sdk
sudo ./autogen.sh
sudo make
sudo make install

Listo, now the next step is to configure the plug-in to start development with Anjuta,

In Anjuta go to Edit->Preferences

Enable the plug-in:

Anjuta-Poky Enable

Configure the toolchain path:
/usr/local/poky/eabi-glibc/arm/

Anjuta-Poky preferences

At the moment we will leave the Target options as shown in further post I will deal with this.

Close the preferences dialog; Create a New Project
File->New->Project
Select an C GTK+ type.

Run Autogenerate…
Build->Run Autogenerate…

You will see messages like:

checking for arm-poky-linux-gnueabi-strip… arm-poky-linux-gnueabi-strip
checking whether to enable maintainer-specific portions of Makefiles… yes
checking for style of include used by make… GNU
checking for arm-poky-linux-gnueabi-gcc… arm-poky-linux-gnueabi-gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… yes

If not then you are not setting correctly the toolchain root path or you misspell the toolchain prefix.

Now Build->Build Project

That would place a binary your src directory.

On my next post I will go through procedure of running the previous example on Quemu as target platform, while you can start designing and coding : )

More info at anjuta-poky-sdk-plugin

Advertisements

One thought on “Poky Anjuta plug-in

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s