Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Benefits of Standard make
Benefits of Standard make [message #223355] Wed, 10 September 2008 13:45 Go to next message
Wessam Emad is currently offline Wessam EmadFriend
Messages: 2
Registered: July 2009
Junior Member
Dear All,

I'm currently doing a survey about why Standard makefiles could be a
better option in some cases.

Actually, I couldn't find any help or previous discussions about this
topic so I need your help.

What are standard make benefits than managed make? (C programming
targeting embedded systems)

Thanks in advance for your help.
Re: Benefits of Standard make [message #223365 is a reply to message #223355] Wed, 10 September 2008 13:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: subs._nospam_consertum.com

Wessam Emad wrote:
> Dear All,
>
> I'm currently doing a survey about why Standard makefiles could be a
> better option in some cases.
>
> Actually, I couldn't find any help or previous discussions about this
> topic so I need your help.
>
> What are standard make benefits than managed make? (C programming
> targeting embedded systems)
>
> Thanks in advance for your help.
>
Standard make offers complete flexibility about how you build yous
projects, including
- building complex systems
- running external tools that aren't supported by managed make
- build as many targets as you want in a single build

With standard make you have to write the makefile youself.

Some of these things you can mock-up with managed make, but it typically
isn't easy.

--
Derek
Re: Benefits of Standard make [message #223381 is a reply to message #223365] Wed, 10 September 2008 14:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fwein.lse.eei.uni-erlangen.de

Hi,

> With standard make you have to write the makefile youself.
We use cmake to create the makefiles.

With cmake we work on different platforms, can switch compilers,
toggle a lot of featues (OpenMP, external libs, ...)


Fabian
Re: Benefits of Standard make [message #223389 is a reply to message #223365] Wed, 10 September 2008 14:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: 4cs6fcg02.sneakemail.com

Derek schreef:
> Wessam Emad wrote:
>> Dear All,
>>
>> I'm currently doing a survey about why Standard makefiles could be a
>> better option in some cases.
>>
>> Actually, I couldn't find any help or previous discussions about this
>> topic so I need your help.
>>
>> What are standard make benefits than managed make? (C programming
>> targeting embedded systems)
>>
>> Thanks in advance for your help.
>>
> Standard make offers complete flexibility about how you build yous
> projects, including
> - building complex systems
> - running external tools that aren't supported by managed make

Such as SWIG, which I use for JNI.

> With standard make you have to write the makefile youself.

I took the makefile from Eclipse as base to write my own, but in the end
it looks very different.

Disadvantage: Eclipse takes care of all the platform-dependent stuff,
which you have to do yourself in the standard makefile.

H.
--
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
Re: Benefits of Standard make [message #223397 is a reply to message #223365] Wed, 10 September 2008 14:52 Go to previous messageGo to next message
Wessam Emad is currently offline Wessam EmadFriend
Messages: 2
Registered: July 2009
Junior Member
Can you please give me examples on some familiar tools that aren't
supported by managed make? And when I can need to build many targets in a
single build?

Thanks for your help.

Wessam
Re: Benefits of Standard make [message #223412 is a reply to message #223397] Wed, 10 September 2008 15:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: subs._nospam_consertum.com

Wessam Emad wrote:
> Can you please give me examples on some familiar tools that aren't
> supported by managed make? And when I can need to build many targets in
> a single build?
>
> Thanks for your help.
>
> Wessam
>
Easy - out-of-the-box, it doesn't support anything other than gcc, gas,
ld and ar. There may well be plugins for other tools, but this is the
standard set.

--
Derek
Re: Benefits of Standard make [message #223420 is a reply to message #223397] Thu, 11 September 2008 05:39 Go to previous messageGo to next message
Ali Burak Kulakli is currently offline Ali Burak KulakliFriend
Messages: 116
Registered: July 2009
Senior Member
We have our own build system so I guess standard make is the only option
for me :)

Wessam Emad wrote:
> Can you please give me examples on some familiar tools that aren't
> supported by managed make? And when I can need to build many targets in
> a single build?
>
> Thanks for your help.
>
> Wessam
>
Re: Benefits of Standard make [message #223556 is a reply to message #223381] Mon, 15 September 2008 13:01 Go to previous message
Mike Jackson is currently offline Mike JacksonFriend
Messages: 128
Registered: July 2009
Senior Member
On 2008-09-10 10:36:23 -0400, Fabian Wein <fwein@lse.eei.uni-erlangen.de> said:

> Hi,
>
>> With standard make you have to write the makefile youself.
> We use cmake to create the makefiles.
>
> With cmake we work on different platforms, can switch compilers,
> toggle a lot of featues (OpenMP, external libs, ...)
>
>
> Fabian

I will second the vote for CMake with Eclipse. It can generate the
proper makefiles for Linux, OS X and MinGW/MSys. You can have multiple
targets per project (Say, a bunch of libraries and a bunch more
executables all from the same source directory.

CMake is cross platform and easy to learn.

Here is a wiki page on how to set things up.

<http://www.cmake.org/Wiki/CMake:Eclipse_UNIX_Tutorial>

Mike Jackson
Previous Topic:file unfolding in project explorer
Next Topic:Re: Which IDE to Install?
Goto Forum:
  


Current Time: Thu Mar 28 11:57:38 GMT 2024

Powered by FUDForum. Page generated in 0.02507 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top