Paloş::Code.Blog()

Thoughts about high architecture and sheer speed.

Archive for the ‘Command Line’


New releases and repository for D packages

Hello people. I know some of you waited quite a bit for this (Intrepid) release but honestly, I HAD NO TIME!!!

Edit: These packages should be considered obsolete for Intrepid and future Ubuntu releases, since the repo at the tango website is now hosting (hopefully soon-to-be-)official packages.

First off, I have created a new repository since I had trouble maintaining the one at the tango website (dsource) and also it seemd that people in the community have started experimenting with it in the attempt to create some official debian packages. This new repo is hosted on my own company’s webservers so everything should be much easier. I will continue upgrading these packages for as long as it will be neccessary (basically until the official Ubuntu/Debian repos will have their own official packages).

(more…)

Add to Technorati FavoritesEnjoyed this post?, why not subscribe to the RSS feed!

FINALLY! Ubuntu Repository for D Packages

ATTENTION!!!
This article is obsolete. New repo is available at repository.palos.ro.
More info in the new article.

And here I am, finally triumphant in my quest to implement a package repository in the Tango sub-section at DSource.org (with the help of Lars Ivar Igesund).

[Edited] The previous link I used to archive the packages is, however, not obsolete and I will update it further with both source scripts and binary packages (this is because some of you might still want to use “dpkg -i …” to install and not the repo - such as Debian users). Here’s the address: http://download.palos.ro/Debian D Packages/

The repository is at the following address (though you should follow the instructions below to add it to your apt configuration):
http://downloads.dsource.org/projects/tango/ubuntu/

(more…)

Add to Technorati FavoritesEnjoyed this post?, why not subscribe to the RSS feed!

Debian D Packages - Release 3

Article is obsolete. See here for updates.

Ok, new release for these packages and quite a few improvements:

  • Merge DSSS-xxx packages into just DSSS;
  • Added a set of wrapper scripts for DSSS to properly use the desired installation and libraries (see below for a description);
  • Both installations (GDC and DMD) can be installed simultaneously now and DSSS will recognize both (through the mentioned scripts);
  • The libtangobos.a file for GDC is now called libgtangobos.a (added the “g” just like Tango did to live peacefully with the DMD version);
  • Added 64bit packages (i.e. amd64) for GDC (DMD doesnt work yet on 64bit) and without Tangobos-GDC unfortunately (because Tangobos does not compile properly in a 64bit environment);
  • Uniformized all package release numbers so that they all coincide.

(more…)

Add to Technorati FavoritesEnjoyed this post?, why not subscribe to the RSS feed!

Ubuntu Packages for GDC and Tango

ATTENTION: This article was just a first attempt! Please go here for a proper follow-up.

I am quite put off by the fact that even though Tango (http://dsource.org/projects.tango) does come in several bundled packages aimed to provide GDC/DMD, Tango and DSSS in one go, those packages are not reliable (at least for me they did not work properly all the way, and some links on the site are dead, especially for the GDC bundles)! Anyhow, since I recently happened to stumble across the checkinstall utility I decided to make my own Ubuntu packages to work with.

What I wanted was GDC(which fortunately already exists in the Ubuntu repos), Tango and DSSS (also other libraries and packages like tangobos but those can be nicely installed using dsss). So after a couple of hours of figuring out how to use checkinstall and how to make Tango and Dsss into deb’s, I managed to build these…

(more…)

Add to Technorati FavoritesEnjoyed this post?, why not subscribe to the RSS feed!

Detect CPU count from Shell

Recently I upgraded my CPU to a Dual Core 2 Duo and am now running the x86_64 version of Arch Linux in which the makepkg tool can take advantage of the multiple core CPU and run make using multiple threads (great stuff). This is accomplished through the -jX option of the make utility (where X is the CPU count: 2 in my case). One can see the tremendous benefits of this when, for example, compiling the kernel (for me the compilation time dropped by almost 45%; I checked!). (more…)

Add to Technorati FavoritesEnjoyed this post?, why not subscribe to the RSS feed!