I glad you enjoy Debian.
Please let me know how the cross-compile goes. I wish I could cross-compile MIPS stuff for my router and such but was unable to get that to work. I actually acquired a working SGI O2 (my Indys were too slow and didn’t have full hardware support) and was just going to install the MIPS version of Debian so I could compile natively.
As far as searching, there are two ways to search packages. First is apt-cache search which is the easiest way to find packages if you only half remember the name. For example, (using something I did), I forgot the bare X11 setup is via x-window-system. I tried apt-get install x-windows-system and it failed, so I apt-cache searched x-window and it pulled up the right name.
However, you probably want to goto debian.org/distrib/packages, you can search for files in packages just make sure to use the right search box, the top for package names, the bottom for files and other, and to select Testing (Etch) since they have this for all releases.
As far as my progress in Piklab, I downloaded the rpm and used alien to make it into a .deb. Then I installed that. The gputils package has all the PIC assembly stuff. With that installed, I can write and compile PIC assembly all I want. I did have to make a couple of symbolic links since Red Hat based distributions use different names for two libraries:
/usr/lib/libpcreposix.so.0 -> libpcreposix.so.3
/usr/lib/libpcre.so.0 -> libpcre.so.3
I had to do this before when using rpms, so the install went very quickly.
I then had to compile the PK2 code from source to support my programmer. I had to downgrade the firmware to version 1.0 in windows first, but it works in both Windows and Linux just fine now. Support for version 2.0 in Linux is in development. The downside is besides the experimental PikC compiler (haven’t tried SDCC), I don’t have a working Linux C compiler. Since I actually have a tutorial with the chair of the Computer Science department here in assembly programming this semester (MIPS and PIC, and one of the reasons I’m not on the forum as much as I used to be), I don’t care so much right now. Since PikC is under rapid development, in the future, I think it will be a viable alternative (assuming an Open Source license). SDCC has a Debian package, and I should try it when I have some time.
As far as a programmer, you can see an image in our other thread here: lynxmotion.net/viewtopic.php?t=1771, but it is a PicKit2 clone. Microchip released the hardware plan and firmware (it uses a pic) for the PikKit2, so many people have made clones. Any PicKit2 compatible (unless they say they added stuff or something so it can’t use Microchip firmwares) should be able to work. The one from microchip is actually rather expensive, but I got mine for $45 along with the ziff sockets in the image.
A word of caution, getting the PikKit2 (even a real one) to work under Windows is not plug and play with this version of MTLAB (even though it says it should work on Microchips website), my guess is in a newer release these bugs will be ironed out. You can search for the details, but I couldn’t program from within MTLAB, I had to use the programming utility with the binary, the same as on Linux with PikLab.