Re: Why leave the error handling to the caller?



Malcolm McLean wrote, On 24/06/07 00:52:

"Flash Gordon" <spam@xxxxxxxxxxxxxxxxxx> wrote in message news:nrk0l4x0ug.ln2@xxxxxxxxxxxxxxxxxxxxxxxxxx
Malcolm McLean wrote, On 23/06/07 16:22:

"Flash Gordon" <spam@xxxxxxxxxxxxxxxxxx> wrote in message

<snip>

Of course, this is going far OT so you will have to go else where to learn how to write makefiles for your system.

Nothing OT on the library debate.

<snip long explanation about the pains you had linking to X>

How to use makefiles so that the people you ship the source to don't need to know how to link is OT, and that is what I am suggesting was the better approach. Also the reason it takes you an hour to do what takes me a few minutes is OT. Learning the interface to a library may take a while, but linking to it only takes me minutes.

The details of makefiles are OT, but the reason you can link up a library in minutes whilst it takes me an hour or more is certainly topical, and very interesting.

Either I am brilliant at finding, reading and understanding the documentation and examples or you are terrible at it. Or, I suppose, it could just be that I know how the systems work and how to ask it the right questions and you don't.

Personally I don't think I'm as good as my colleagues do and certainly don't consider myself to be brilliant, but our respective abilities are not topical here.
--
Flash Gordon
.



Relevant Pages

  • Re: Make file
    ... > is there a way to create a make file that is generic for any compiler? ... This is part of the reason that Makefiles aren't ... you'll have to look to a Linux/Unix newsgroup. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Cannot use cvsup
    ... >> I can't use cvsup for some reason. ... if i go into all of my ports, there are no makefiles. ...
    (freebsd-questions)
  • Re: Why leave the error handling to the caller?
    ... Nothing OT on the library debate. ... How to use makefiles so that the people you ship the source to don't need to know how to link is OT, and that is what I am suggesting was the better approach. ... The details of makefiles are OT, but the reason you can link up a library in minutes whilst it takes me an hour or more is certainly topical, and very interesting. ...
    (comp.lang.c)
  • Re: The machine stack and the C language
    ... reason to give it an argument at all. ... Real life example: ... PortableMakefiles with a step that would normally be ... is unneeded or unimplemented on some architectures. ...
    (comp.lang.c)
  • Re: Using -traditional in EXTRA_AFLAGS
    ... Glauber de Oliveira Costa wrote: ... is there any particular reason we're using -traditional in ... EXTRA_AFLAGS in Makefiles? ...
    (Linux-Kernel)