Re: DVM - D Version Manager 0.2.0

2011-05-19 Thread Jacob Carlborg

On 2011-05-18 13:27, Jacob Carlborg wrote:

On 2011-05-18 10:21, Nick Sabalausky wrote:

Nick Sabalauskya@a.a wrote in message
news:iqvru7$cnu$1...@digitalmars.com...

Jacob Carlborgd...@me.com wrote in message
news:iqvpon$6p0$1...@digitalmars.com...

On 2011-05-18 06:35, Nick Sabalausky wrote:


Sounds cool, but dvm-0.2.0-linux-32 is just giving me Illegal
instruction
on Kubuntu 10.04 x86-32. And I don't see any instructions for how to
build
it anywhere in the source tree or on the homepage.


Ok, strange. I built the tool on Ubuntu 11.04, maybe it's too new. How
can I build it to work on as many platforms as possible? The runtime
dependencies are just the same as a regular C application and zlib.

Added build instructions at the bottom of:
https://bitbucket.org/doob/dvm



Thanks :) I think I'm almost there. I've been using D2/Phobos/RDMD
for the
past year or so (plus my usual machine is a windows box), so I had a lot
of setting up to do, but I think I've almost got it now. When I do, I'll
post the final binary in case it helps anyone else (I can only make a
32-bit binary though).



Done. Here's the binary, it works for me:

http://www.semitwist.com/download/app/dvm-0.2.0-linux-32


Thanks, I'll upload it when I get a chance.


I've uploaded your version now, thanks again.

--
/Jacob Carlborg


Re: DVM - D Version Manager 0.2.0

2011-05-19 Thread Jacob Carlborg

On 2011-05-18 22:33, Nick Sabalausky wrote:

Jacob Carlborgd...@me.com  wrote in message
news:ir0o9o$1st5$1...@digitalmars.com...

On 2011-05-18 14:21, Steven Schveighoffer wrote:

On Wed, 18 May 2011 03:15:50 -0400, Nick Sabalauskya@a.a  wrote:


But the bottom line seems to be: Linux is in a bigger DLL hell than
windows
has ever been, and I don't think *anyone* actually knows how to do it.


This is one of the side effects of having open source software. Since
everything on linux is expected to be open source, it's expected that
you simply recompile everything for your system. In this respect,
Windows has Linux beat hands down. A hardware company that builds a
driver needs only to support one compiled driver that just keeps working
no matter how many times XP is updated.


The problem I have with my tool is like the chicken and the egg problem.
The tool installs D compilers and you're supposed to use the tool without
the requirement of an pre-existing DMD compiler.



I've been thinking it would probably be possible to bootstrap DVM with a
shell script that would wget some specific DMD, set it up, at least enough
to build DVM (possibly even automatically building
DMD/druntime/phobos/tango - which is something we really need a more
automated way to do anway, especially for trunk versions (or whatever the
Git-lingo for trunk is)), and then use that to build DVM.

I may give it a try myself.


In the case I just could have written the tool in shell script in the 
first place and that's what I want to avoid. I hate shell scripts and it 
would make it even harder to create a version for Windows.


I think the right approach is to provied pre-compiled binaries. I 
downloaded Ubuntu 4.10, or something like that. I'll install it in a 
virtual machine and try it out.


--
/Jacob Carlborg


CfP: Strange Loop Conference 2011

2011-05-19 Thread Andrei Alexandrescu

A kind reader let me know about this conference:

https://thestrangeloop.com/sessions-page/call-for-presentations

Please consider submitting!


Andrei


Unofficial Article Contest Submission Wiki

2011-05-19 Thread Nick Sabalausky
To make it easy to find and keep track of the articles that have been 
submitted, I put up a wiki page at Wiki4D:

http://prowiki.org/wiki4d/wiki.cgi?Article_Contest

I added all the submissions I'm aware of. Sorry if I missed any.




Re: Unofficial Article Contest Submission Wiki

2011-05-19 Thread Andrej Mitrovic
I think this was a submission too:
http://octarineparrot.com/article/view/getting-more-fiber-in-your-diet