[erlang-questions] Building a C port
Sat Oct 15 02:31:27 CEST 2011
On Sat, Oct 15, 2011 at 3:31 AM, Max Lapshin <max.lapshin@REDACTED> wrote:
> What is the problem with GPL?
Probably the missing, "linking exception", thus potentially forcing a
proprietary project to go open.
That's one possibility, I'd say.
> On Sat, Oct 15, 2011 at 1:53 AM, Tom Burdick <thomas.burdick@REDACTED> wrote:
>> I'm looking to wrap libsamplerate and am looking for some advice on
>> how to go about it.
>> I can't use NIF or port driver as libsamplerate is GPL. NIF or a port
>> driver don't seem to be the right solution anyways as libsamplerate
>> may take awhile to do some work and report back.
>> So I'm left thinking either a C port or a C node would be best, I'm
>> leaning towards a C port implementation.
>> The C port example however as it shows running gcc with -I and -L
>> flags pointing to a particular erlang install. I'd like to make my
>> port portable so that it can compile on different machines with
>> possible different versions of erlang without having to always specify
>> where erlang is installed, or even worse where erl_interface is
>> Do people use autotools for this? Is there a project template that
>> uses autotools for this?
>> Could I use rebar instead?
>> Tom Burdick
>> erlang-questions mailing list
> erlang-questions mailing list
More information about the erlang-questions