[erlang-questions] erlang.mk neotoma
Loïc Hoguin
essen@REDACTED
Fri Mar 7 20:14:43 CET 2014
Nobody said they were *needed*. But people might use them and even may
be required to use them to compile the C code that their port will talk to.
Rebar only works with the simplest of them. People that need more need
to start writing a mess of hooks and yeah, blargh. Let's not do that.
On 03/07/2014 08:11 PM, Max Lapshin wrote:
> uh! Who said "autotools" ?
>
> Rebar doesn't need autotools to compile ports.
>
>
>
> On Fri, Mar 7, 2014 at 11:10 PM, Loïc Hoguin <essen@REDACTED
> <mailto:essen@REDACTED>> wrote:
>
> We can't make any assumptions on how the C code will need to be
> built. If we make assumptions then only the simplest ports/NIFs will
> work. You may need autotools to run first for example. These can
> create a Makefile in c_src/ and then erlang.mk <http://erlang.mk>
> can directly call it. That's just one example of course.
>
>
> On 03/07/2014 08:04 PM, Max Lapshin wrote:
>
> why not to declare required ports in common makefile?
> what for to have additional c_src/Makefile ?
>
>
> --
> Loïc Hoguin
> http://ninenines.eu
>
>
--
Loïc Hoguin
http://ninenines.eu
More information about the erlang-questions
mailing list