Jump to page: 1 2 3
Thread overview
[phobos] problem solved
Jan 28, 2011
Jonathan M Davis
Jan 28, 2011
Brad Roberts
Jan 28, 2011
Jonathan M Davis
Jan 28, 2011
Walter Bright
Jan 28, 2011
Adam D. Ruppe
Jan 28, 2011
Jesse Phillips
Jan 28, 2011
David Simcha
Jan 28, 2011
Jesse Phillips
Jan 28, 2011
Walter Bright
Jan 28, 2011
Jonathan M Davis
Jan 28, 2011
spir
Jan 28, 2011
Jonathan M Davis
Jan 28, 2011
Jonathan M Davis
Jan 28, 2011
spir
Jan 28, 2011
Jonathan M Davis
Jan 28, 2011
spir
Jan 28, 2011
Jonathan M Davis
Jan 28, 2011
Brad Roberts
Jan 28, 2011
Walter Bright
Jan 30, 2011
Sean Kelly
Jan 30, 2011
Sean Kelly
January 28, 2011
I found the solution on the net. Apparently I need to add -L-lrt to the flags.

Probably this should be documented somewhere...


Andrei
January 27, 2011
On Thursday 27 January 2011 22:16:28 Andrei Alexandrescu wrote:
> I found the solution on the net. Apparently I need to add -L-lrt to the flags.
> 
> Probably this should be documented somewhere...

More like it needs to be fixed in the default dmd.conf. This will be broken for everyone on Linux if it's not in there.

- Jonathan M Davis
January 28, 2011
And while we're at it... that should be .dmdconf, not dmd.conf. It's time to polish all aspects of the installation.

Andrei

On Fri, Jan 28, 2011 at 12:22 AM, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> On Thursday 27 January 2011 22:16:28 Andrei Alexandrescu wrote:
>> I found the solution on the net. Apparently I need to add -L-lrt to the flags.
>>
>> Probably this should be documented somewhere...
>
> More like it needs to be fixed in the default dmd.conf. This will be broken for everyone on Linux if it's not in there.
>
> - Jonathan M Davis
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
January 27, 2011
Only when it's a file in the users home dir, which isn't how we ship it.  I find it much nicer as a file in the same dir as the executable.  This makes it very easy to switch between binaries.

I do like the suggestion of adding $HOME/.dmd.conf (or some variation there on) to the list of files searched for.  But auto-creating one there?  not so much.

On 1/27/2011 10:32 PM, Andrei Alexandrescu wrote:
> And while we're at it... that should be .dmdconf, not dmd.conf. It's time to polish all aspects of the installation.
> 
> Andrei
> 
> On Fri, Jan 28, 2011 at 12:22 AM, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
>> On Thursday 27 January 2011 22:16:28 Andrei Alexandrescu wrote:
>>> I found the solution on the net. Apparently I need to add -L-lrt to the flags.
>>>
>>> Probably this should be documented somewhere...
>>
>> More like it needs to be fixed in the default dmd.conf. This will be broken for everyone on Linux if it's not in there.
>>
>> - Jonathan M Davis

January 27, 2011
On Thursday 27 January 2011 22:47:17 Brad Roberts wrote:
> Only when it's a file in the users home dir, which isn't how we ship it.  I find it much nicer as a file in the same dir as the executable.  This makes it very easy to switch between binaries.
> 
> I do like the suggestion of adding $HOME/.dmd.conf (or some variation there on) to the list of files searched for.  But auto-creating one there?  not so much.

I think that Andrei meant that it should be rename .dmd.conf where it currently is. Being able to but it in $HOME would be great as well, but that would be in addition to renaming it. I believe that there's a feature request open for that (having it in $HOME) at the moment, and IIRC it even had a patch to do it. However, renaming it doesn't have to be related to allowing it in $HOME.

- Jonathan M Davis
January 28, 2011
Agreed.

Andrei

On Fri, Jan 28, 2011 at 12:47 AM, Brad Roberts <braddr at puremagic.com> wrote:
> Only when it's a file in the users home dir, which isn't how we ship it. ?I find it much nicer as a file in the same dir as the executable. ?This makes it very easy to switch between binaries.
>
> I do like the suggestion of adding $HOME/.dmd.conf (or some variation there on) to the list of files searched for. ?But auto-creating one there? ?not so much.
>
> On 1/27/2011 10:32 PM, Andrei Alexandrescu wrote:
>> And while we're at it... that should be .dmdconf, not dmd.conf. It's time to polish all aspects of the installation.
>>
>> Andrei
>>
>> On Fri, Jan 28, 2011 at 12:22 AM, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
>>> On Thursday 27 January 2011 22:16:28 Andrei Alexandrescu wrote:
>>>> I found the solution on the net. Apparently I need to add -L-lrt to the flags.
>>>>
>>>> Probably this should be documented somewhere...
>>>
>>> More like it needs to be fixed in the default dmd.conf. This will be broken for everyone on Linux if it's not in there.
>>>
>>> - Jonathan M Davis
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
January 28, 2011

Andrei Alexandrescu wrote:
> And while we're at it... that should be .dmdconf, not dmd.conf. It's time to polish all aspects of the installation.
>
> 

I've never liked the configuration files being hidden. It's freaking annoying.

BTW, the Windows convention is to store your configuration in the system registry. We do not do that. Nobody has yet complained about this (in the entire history of dmd and dmc). In fact, they /*like*/ that dmc/dmd do not put settings in the system registry.
January 28, 2011
On 01/28/2011 02:40 AM, Walter Bright wrote:
>
>
> Andrei Alexandrescu wrote:
>> And while we're at it... that should be .dmdconf, not dmd.conf. It's time to polish all aspects of the installation.
>>
>
> I've never liked the configuration files being hidden. It's freaking annoying.

It doesn't quite matter what you and I like or not. Everybody on Unix does it that way ever since .profile. The presence of dmd.conf has "these morons think they're special" written all over it. So please let's not be gratuitously strident.

> BTW, the Windows convention is to store your configuration in the system registry. We do not do that. Nobody has yet complained about this (in the entire history of dmd and dmc). In fact, they /*like*/ that dmc/dmd do not put settings in the system registry.

The registry sucks. Most users hate it, and many applications are refusing to use it. It's definitely not a good comparison.


Andrei
January 28, 2011
On Fri, Jan 28, 2011 at 09:14:26AM -0600, Andrei Alexandrescu wrote:
> It doesn't quite matter what you and I like or not. Everybody on Unix does it that way ever since .profile.

If the file is in $HOME, and sometimes if in the current working directory.

program.conf is common if the file resides in its own directory (including dot directories under home) or /etc.

The website lists these locations:

1.current working directory
2.directory specified by the HOME environment variable
3.directory dmd resides in
4./etc/

(1) and (2) might be renamed, but (3) and (4) certainly shouldn't be.

January 28, 2011
Correct. That's what I've always meant: only hide the file in $HOME.

Andrei

On 1/28/11 9:21 AM, Adam D. Ruppe wrote:
> On Fri, Jan 28, 2011 at 09:14:26AM -0600, Andrei Alexandrescu wrote:
>> It doesn't quite matter what you and I like or not. Everybody on Unix does it that way ever since .profile.
>
> If the file is in $HOME, and sometimes if in the current working directory.
>
> program.conf is common if the file resides in its own directory (including dot directories under home) or /etc.
>
> The website lists these locations:
>
> 1.current working directory
> 2.directory specified by the HOME environment variable
> 3.directory dmd resides in
> 4./etc/
>
> (1) and (2) might be renamed, but (3) and (4) certainly shouldn't be.
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
« First   ‹ Prev
1 2 3