# Looking for Rake C code building examples with multiple plat

**URL:** <https://www.ruby-forum.com/t/looking-for-rake-c-code-building-examples-with-multiple-plat/81562>\
**Category:** Ruby\
**Created:** [March 14, 2006, 1:15am UTC](https://www.ruby-forum.com/t/looking-for-rake-c-code-building-examples-with-multiple-plat/81562 "2006-03-14T01:15:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stuart\_Hungerford](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b38774/32.png) [@Stuart\_Hungerford](https://www.ruby-forum.com/u/Stuart_Hungerford)\
**Post date:** [March 14, 2006, 1:15am UTC](https://www.ruby-forum.com/t/looking-for-rake-c-code-building-examples-with-multiple-plat/81562/1 "2006-03-14T01:15:05Z")

</div>

Hi,

I’m currently using Rake to manage the building of a smallish  
C library and associated C programs.

There’s some nice C building tutorials on Jim W.'s site  
but I need to be able to build multiple versions of the library  
(e.g. debug, optimized, instrumented) for multiple platforms  
(e.g. Solaris/Sun C, Linux/GCC 4.x etc).

Has anyone used Rake in this way? I’d welcome any examples of  
doing this in practice that anyone could share.

TIA,

Stu
