Re: How do you depend on having a command in the path

"Bastian Eicher" <[email protected]> Thu, 28 Dec 2017 13:26:33 +0100
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <[email protected]>
Hi Philip,

Zero Install requires all components within a selection to have the same
family of CPU architectures (e.g. any combination of i386/i486/etc. or
x86_64 but not both).
For library dependencies that are used in-process this exactly what you
want. However, for executable dependencies that run in separate processes
this restriction is unnecessary. Unfortunately, 0install does not (yet) know
the difference between the two.

To avoid the kind of problem you have run into, try using the following
pattern:
If there is only a 32-bit version of a Windows executable available specify
its architecture as Windows-*.
If there are both 32-bit and 64-bit versions of a Windows executable
available specify their architectures as Windows-i486 and Windows-x86_64
respectively.

Regards
Bastian


-----Original Message-----
From: [email protected]
[mailto:[email protected]] 
Sent: 27. Dezember 2017 23:06
To: [email protected]
Subject: [Zero-install-devel] How do you depend on having a command in the
path

0installers,
        I’m trying to setup a 32 bit app with 64bit version of diff in the
path.
But it rejects that.
“Can't use x86_64 with selection of http://localhost/unison.xml (i386)”
 
Is there a way to depend on x86 or x64 exe in windows?
 
Philip Miess
Sr. Software Test Engineer
Phone: (585) 327-6195
mailto:[email protected]
50 Broad Street
Rochester, NY 14694


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot