multi platform support into standard Erlang packaging

Bengt Kleberg <>
Thu Jul 6 13:42:05 CEST 2006


On 2006-07-01 10:14, Christophe Romain wrote:
...deleted
> Wouldn't it be nice to define a generic and standard location for priv 
> things that allow to have many platforms into the same priv directory ?
> example:
> myapp-1.0/
>     src/
>     include/
>     ebin/
>     priv/
>         lib/linux-x86/
>         lib/darwin-powerpc/
>         lib/windows/
>         bin/windows/

how about
      myapp-1.0/priv/linux-x86/lib/
?
for the special case of a single computer installation (no network 
export/mounting) it could then be possible to link 
myapp-1.0/priv/linux-x86/lib/* to myapp-1.0/priv/lib/*
which is backwards compatible.


bengt
-- 
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."



More information about the erlang-questions mailing list