You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Shane Witbeck <sh...@digitalsanctum.com> on 2009/06/05 17:31:03 UTC

compiling C for Linux using Buildr

I have a requirement to create a Buildr task to compile a C library for
Linux. My plan is to ssh to a Linux machine and do the work there, then copy
the binary to a location.
Anyone else try something like this before or does someone have a better
suggestion than what I described?


Thanks,

-Shane

Re: compiling C for Linux using Buildr

Posted by Daniel Spiewak <dj...@gmail.com>.
I'm pretty sure that you can use a local copy of GCC on *any* platform to
compile targeting Linux (or any other platform for that matter).  This would
avoid all of the annoying complexity of an extra SSH task and remote build.
Daniel

On Fri, Jun 5, 2009 at 10:31 AM, Shane Witbeck <sh...@digitalsanctum.com>wrote:

> I have a requirement to create a Buildr task to compile a C library for
> Linux. My plan is to ssh to a Linux machine and do the work there, then
> copy
> the binary to a location.
> Anyone else try something like this before or does someone have a better
> suggestion than what I described?
>
>
> Thanks,
>
> -Shane
>