Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 14:08:55 -0500
From:      Matthew Pherigo <hybrid120@gmail.com>
To:        Tijl Coosemans <tijl@coosemans.org>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: lang/nimrod issue: missing forward slash
Message-ID:  <2C2F5FA3-D5F3-4223-A163-F689DA5056BF@gmail.com>
In-Reply-To: <20140331201111.18f2688b@kalimero.tijl.coosemans.org>
References:  <C0A51891-9BF5-44DF-A466-887FB3AAD153@gmail.com> <20140331201111.18f2688b@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Mar 31, 2014, at 1:11 PM, Tijl Coosemans <tijl@coosemans.org> wrote:

>=20
>> On Mon, 31 Mar 2014 12:15:35 -0500 Matthew Pherigo wrote:
>> Hey all,
>>=20
>> I'm having a problem with lang/nimrod that's keeping me from doing any
>> development at the moment. I think this is an issue created by the
>> person who created the port (nimrod works fine on my arch linux VM),
>> but I figured I'd check here in case anyone knows a fix.
>>=20
>> When I try to compile anything from nimrod, the paths calls the compiler
>> with are incorrect. For example, here is the (successful) compilation
>> output of a program that doesn't depend on any external Libs (besides
>> system.nim):
>=20
> Can you make these example program available somewhere so I can try to
> reproduce this?

The programs themselves don't make any difference. But, here they are.
The first one is simply
echo("Hello, world!")

The program that has external dependencies is a very incomplete calculator p=
rogram, as follows:

import strutils
var a, b, c: float
var buf: string
echo("Enter your first number! \n> ")
buf =3D readLine(stdin)
a =3D ParseFloat(buf)

--Matt=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2C2F5FA3-D5F3-4223-A163-F689DA5056BF>