New version of AWS4C has been released

Just released new version of AWS4C library.

The new release includes support for Reduced Redundancy Storage and some bug fixes related to memory and socket leaks during extended operations.

The library could be downloaded from here:

http://code.google.com/p/aws4c/downloads/list

This release was made possible thanks to the anonymous contributors, who submitted these fixes.

Comments (2)

Compiling native programs for Android

There is an excellent tutorial by Nirnimesh on how to compile native programs for Android here http://android-tricks.blogspot.com/2009/02/hello-world-c-program-on-using-android.html

Unfortunately things have changed a bit since last year when this post was written. Andy’s agcc script doesn’t work with the most recent Google NDK release 4B.

I have changed the script a little bit to address new path changes. The new script is available here http://android-cruft.googlecode.com/files/agcc-0.2.tgz.

Make sure to add this to your path

$HOME/AndroidNDK/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/

where AndroidNDK is your NDK installation directory.

Hope this works for you.

Comments (5)

AWS4C has been updated

Thanks to Henry N. for sending patches to the AWS4C library. I applied and tested them, hence the new release of the library.

Here is the list of changes:

  • The code quality has been improved. Some memory leaks fixed. Also addressed some warnings given by GCC 4.1.2
  • Addressed a bug with having wrong file length after get
  • When debug is not set, don’t print verbose output to stdout
  • Fixed up EU and virtual host URLS
  • Now can set the mime-type for the items
  • Now can attach canned ACL to the items

The library is available at http://code.google.com/p/aws4c/

Have any questions or suggestions write to me ‘tutorials@v-lad.org’ or post your comment here.

Leave a Comment

AWS4C a C library that lets you work with AWS

Believe it or not some people need to write programs to access Amazon Web Services in This project grew out of the conversion of my old HPC project to run on the amazon EC2.

I needed a C library to access the code. Unfortunately I couldn’t find any, so I wrote my own.

The code quality sucks, I wrote the whole thing pretty much in one day. And I wouldn’t use it for anything more then a proof of concept projects unless it is heavily reworked to be more robust. But nevertheless it gets the job done.

The library includes bindings for SQS and S3.

It depends on libcurl for its network operations and openssl for the crypto.

There is also libAWS but it is heavily C++ dependent so it wouldn’t work for all types of C projects.

The library is available at http://code.google.com/p/aws4c/

Have any questions or suggestions write to me ‘tutorials@v-lad.org’ or post your comment here.

Comments (2)