Michael Erdmann | 31 Aug 08:49

Opendylan 1.0beta4 README where is the executable?

Dear all,

i have downloaded the latest dylan 1.04 release. The README of this
release says:

(1)  $ make-dylan-app my-hello-world
(2)  $ cd my-hello-world
(3)  $ opendylan -build my-hello-world.lid
(4)  $ my-hello-world
      Hello, world!

every thing seems to work fine till step 4. The executable is not
in the working directory as the example suggests.

Is this some known bug in the documentation or something else?

Regards
    M.Erdmann
--

-- 
Gd-hackers mailing list
Gd-hackers <at> gwydiondylan.org
https://www.opendylan.org/mailman/listinfo/gd-hackers

Gareth Baker | 31 Aug 09:21

Re: Opendylan 1.0beta4 README where is the executable?

Hi,

On my system it ends up in $HOME/Open-Dylan/bin. Not sure if there is any
way to direct the build to the working directory?

Regards
Gareth Baker

On 31/8/07 07:50, "Michael Erdmann" <michael.erdmann <at> snafu.de> wrote:

> Dear all,
> 
> i have downloaded the latest dylan 1.04 release. The README of this
> release says:
> 
> (1)  $ make-dylan-app my-hello-world
> (2)  $ cd my-hello-world
> (3)  $ opendylan -build my-hello-world.lid
> (4)  $ my-hello-world
>       Hello, world!
> 
> every thing seems to work fine till step 4. The executable is not
> in the working directory as the example suggests.
> 
> Is this some known bug in the documentation or something else?
> 
> Regards
>     M.Erdmann

--

-- 
(Continue reading)

Hannes Mehnert | 31 Aug 16:12

Re: Opendylan 1.0beta4 README where is the executable?


Hi Gareth, Michael,

Gareth Baker wrote:
> On my system it ends up in $HOME/Open-Dylan/bin. Not sure if there is
> any way to direct the build to the working directory?

the default build directory is $HOME/Open-Dylan. It can be changed by
setting the OPEN_DYLAN_USER_ROOT environment variable. Actually, the
installation directory can be set independently with
OPEN_DYLAN_USER_INSTALL.

But both create a directory structure with bin, databases, lib in the
specified directory. Also, relative paths don't work (at least on my
computer, setting OPEN_DYLAN_USER_INSTALL to . end with a hello-world in
~/Open-Dylan/build/bin/hello-world).

From README "Intermediate build products will end up in your home
directory, under a directory named "Open-Dylan/build".  Final build
targets, such as the libraries, binaries and compiler databases, will
end up in your home too, in "Open-Dylan/lib", "Open-Dylan/bin" and
"Open-Dylan/databases" respectively.""

Maybe this should be in a more prominent place in the README?

Or maybe the step 4 should better be
 (4) $ ~/Open-Dylan/bin/my-hello-world
, which would be incorrect when OPEN_DYLAN_USER_ROOT or _INSTALL is set.

Any suggestions are appreciated. The README is in
(Continue reading)

Michael Erdmann | 1 Sep 09:29

Re: Opendylan 1.0beta4 README where is the executable?

Hannes Mehnert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Gareth, Michael,
> 
> Gareth Baker wrote:
>> On my system it ends up in $HOME/Open-Dylan/bin. Not sure if there is
>> any way to direct the build to the working directory?
> 
> the default build directory is $HOME/Open-Dylan. It can be changed by
> setting the OPEN_DYLAN_USER_ROOT environment variable. Actually, the
> installation directory can be set independently with
> OPEN_DYLAN_USER_INSTALL.
> 
> But both create a directory structure with bin, databases, lib in the
> specified directory. Also, relative paths don't work (at least on my
> computer, setting OPEN_DYLAN_USER_INSTALL to . end with a hello-world in
> ~/Open-Dylan/build/bin/hello-world).

Personally i have to feeling this aproach is not very helpfull at all.
A typical project sturcture has its own directory structure, e.g.

project --+-- src
           |
           +-- bin
           |
           :

What is the intended usage within a project?
(Continue reading)


Gmane