Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  multi platform support into standard Erlang packaging

axel
Posted: Thu Jul 06, 2006 4:17 pm Reply with quote
User Joined: 03 Mar 2005 Posts: 271
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."
Post recived frommailinglist
View user's profile Send private message
Guest
Posted: Thu Jul 06, 2006 8:23 pm Reply with quote
Guest
Bengt Kleberg wrote:
> 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/

+1

Different OS/arch combos have different naming conventions and
limitations. Better to have those allocated to the right of the OS/arch
markers.

-a
Post recived frommailinglist
Guest
Posted: Fri Jul 07, 2006 9:04 am Reply with quote
Guest
> how about
> myapp-1.0/priv/linux-x86/lib/

with link for backward compatibility we can even package apps that are
still not patched...
good point !
thanks.

Post recived frommailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum