You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jean-Sebastien Delfino <js...@apache.org> on 2006/08/09 18:52:42 UTC

[C++] A portable build system?

I'm still in the process of (re)learning C++ and related GCC automake, 
configure etc. so maybe this is a dumb question.. but would there be any 
way to make our builds portable between Linux and Windows, instead of 
using completely different build systems, i.e. Automake on Linux and 
VC++ on Windows?

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [C++] A portable build system?

Posted by Simon Laws <si...@googlemail.com>.
You can make native windows dll's and executables. The last time I was
involved in this kind of build we actually used ant on windows and linux in
top of gcc (in cygwin for windows) to drive the build for the large number
of different systems we had to support (there were some strange HPC type
ones). IMHO though the result was rather too complicated. I don't know
automake but if you have it working well on linux it would be good to see
how well it supports a windows build before doing anything more exotic.

S

On 8/10/06, Pete Robbins <ro...@googlemail.com> wrote:
>
> On 10/08/06, Simon Laws <si...@googlemail.com> wrote:
> >
> > You can use cygwin to do gcc compiles for windows. It comes with
> automake
> > (don't know what version) and can be integrated with Eclipse CDT.
> >
> > S
>
>
> That's the one! Does it produce dll's that run native on windows or does
> the
> output depend on other libraries?
>
> --
> Pete
>
>

Re: [C++] A portable build system?

Posted by Pete Robbins <ro...@googlemail.com>.
On 10/08/06, Simon Laws <si...@googlemail.com> wrote:
>
> You can use cygwin to do gcc compiles for windows. It comes with automake
> (don't know what version) and can be integrated with Eclipse CDT.
>
> S


That's the one! Does it produce dll's that run native on windows or does the
output depend on other libraries?

-- 
Pete

Re: [C++] A portable build system?

Posted by Simon Laws <si...@googlemail.com>.
You can use cygwin to do gcc compiles for windows. It comes with automake
(don't know what version) and can be integrated with Eclipse CDT.

S

On 8/9/06, Pete Robbins <ro...@googlemail.com> wrote:
>
> I believe automake can run on Windows using some linux portability layer
> (I
> forget what it's called). I'll need to look into it some more. We should
> also see what other Apache c/C++ projects use.
>
>
>
> On 09/08/06, Jean-Sebastien Delfino <js...@apache.org> wrote:
> >
> > I'm still in the process of (re)learning C++ and related GCC automake,
> > configure etc. so maybe this is a dumb question.. but would there be any
> > way to make our builds portable between Linux and Windows, instead of
> > using completely different build systems, i.e. Automake on Linux and
> > VC++ on Windows?
> >
> > --
> > Jean-Sebastien
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>
>
> --
> Pete
>
>

Re: [C++] A portable build system?

Posted by Pete Robbins <ro...@googlemail.com>.
I believe automake can run on Windows using some linux portability layer (I
forget what it's called). I'll need to look into it some more. We should
also see what other Apache c/C++ projects use.



On 09/08/06, Jean-Sebastien Delfino <js...@apache.org> wrote:
>
> I'm still in the process of (re)learning C++ and related GCC automake,
> configure etc. so maybe this is a dumb question.. but would there be any
> way to make our builds portable between Linux and Windows, instead of
> using completely different build systems, i.e. Automake on Linux and
> VC++ on Windows?
>
> --
> Jean-Sebastien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>


-- 
Pete