Page 1 of 2

What's your toolchain

Posted: Mon Apr 27, 2009 7:23 pm
by AaronMiller
Hey, I'm just wondering what your toolchain might be. (OS, development tools/language, etc.)

Mine is Ubuntu Linux version 8.10,
GNU Compiler Collection,
NASM,
and some custom tools I made.

My kernel is being made in C, and x86 (intel-syntax) assembly.


NOTE: I wasn't sure where else to put this, sorry if it's in the wrong place.

Cheers,

-naota

Re: What's your toolchain

Posted: Mon Apr 27, 2009 7:30 pm
by JackScott
It's *probably* the right place for the topic. We'll see how the intelligence of the replies ranks...

I use a Debian Stable server with all the standard GNU tools: GCC v4.3.x, Binutils, Make, NASM, etc.
I remotely access files using ExpanDrive for Windows (my review here) and use Notepad2 and/or Visual Studio on my Vista laptop to do the editing.
I write my kernel in C, with both Intel and AT&T syntax assembly. At the moment I'm working on a lot of Java-based projects on my laptop, and for those I have NetBeans and the Sun JDK installed.

Re: What's your toolchain

Posted: Mon Apr 27, 2009 8:45 pm
by Troy Martin
For NASM only:
  • Windows Vista Home Premium SP1
  • always the latest NASM
For NASM and C:
  • xubuntu 9.04 in the latest VirtualBox
  • always the latest NASM
  • always the latest GCC/binutils/build-essential

Re: What's your toolchain

Posted: Mon Apr 27, 2009 9:08 pm
by earlz

Code: Select all

[earlz@EarlzBeta-~] $ uname -a
OpenBSD earlzbeta.earlz-me.biz.tm 4.4 GENERIC.NTFS#0 i386
[earlz@EarlzBeta-~] $ yasm --version
yasm 0.6.2.1985
Compiled on Aug 12 2008.
Copyright (c) 2001-2007 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.
[earlz@EarlzBeta-~] $ pcc -v
pcc 0.9.9 for i386-unknown-openbsd4.4, [email protected] Tue Mar 31 13:16:51 CDT 2009
no input files
[earlz@EarlzBeta-~] $ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.4/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)
[earlz@EarlzBeta-~] $
btw, the gcc is very heavily patched, and pcc is a CVS version.

also I have this system that my website runs on (and compiles nightly builds of my OS)

Code: Select all

[earlz][~]$ uname -a
Linux earlz.biz.tm 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:28:02 EDT 2006 i686 i686 i386 GNU/Linux
[earlz][~]$ gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
[earlz][~]$ yasm --version
yasm 0.7.2.2153
Compiled on Oct 31 2008.
Copyright (c) 2001-2008 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.
[earlz][~]$
haven't got pcc compiled on it yet..

Also, I make sure that all my projects(in C) compile with both GCC and PCC.. which can have it's difficult moments when PCC has some strange code generation bug or a "cannot produce code for node" bug.

Re: What's your toolchain

Posted: Tue Apr 28, 2009 1:45 am
by AJ
Hi,

I'm using Windows XP and Windows Vista Home Premium on my development machines. I use Cygwin for my builds, with the latest versions of GCC, Binutils and NASM. I use qemu / bochs / virtualbox for testing (along with real hardware).

Since getting in to Pedigree I've also started using CMake, but for my own project tend to use a combination of shell scripts and make.

Cheers,
Adam

Re: What's your toolchain

Posted: Tue Apr 28, 2009 3:00 am
by pcmattman
I run Vista Business and Ubuntu 8.10 on my machine (dual boot, most of my time in Linux).

On Windows:
Cygwin with i686-elf and i686-pedigree toolchains (one for compiling the kernel, the other for applications). I also have an arm-elf and ppc-elf toolchain.

On Ubuntu:
i686-elf and i686-pedigree toolchains. Also an arm-elf, ppc-elf and x86_64-elf toolchain.

NASM is only used for Pedigree (on both Windows and Linux), any other x86 assembly (or other architectures) I prefer GAS.

EDIT: All of that's GCC 4.3.2 and Binutils 2.19.1, for the record.

Re: What's your toolchain

Posted: Tue Apr 28, 2009 8:19 am
by Solar
"The Classic". Gentoo Linux, vim / konsole, GCC / binutils, make, gdb. Subversion. Everything else is frills. ;)

Re: What's your toolchain

Posted: Tue Apr 28, 2009 4:19 pm
by ucosty
GCC 4.3.3/Binutils 2.19, Make, Doxygen in a nice bash terminal on Mac OS X. TextMate is my editor of choice. I also use GIT.

Re: What's your toolchain

Posted: Thu Apr 30, 2009 5:12 pm
by AaronMiller
Those are some quite interesting toolchains. :) I'm surprised that there are so many OS devers that use Windows! Whenever I use Windows I use Notepad++ or Notepad 2 as my text editor, and try to use MinGW or DJGPP or Cygwin. Currently I'm having an issue with LD (PE operations on non PE format ./bin/kernel.bin) so I'm going to start looking for a replacement to the MinGW/Cygwin/DJGPP LD (The DJGPP one because it doesn't seem to execute most of the time :/)

Keep up the posts! I'm always interested in seeing this sort of information. :)

Cheers,

-naota

Re: What's your toolchain

Posted: Thu Apr 30, 2009 7:27 pm
by earlz
AaronMiller wrote:Those are some quite interesting toolchains. :) I'm surprised that there are so many OS devers that use Windows! Whenever I use Windows I use Notepad++ or Notepad 2 as my text editor, and try to use MinGW or DJGPP or Cygwin. Currently I'm having an issue with LD (PE operations on non PE format ./bin/kernel.bin) so I'm going to start looking for a replacement to the MinGW/Cygwin/DJGPP LD (The DJGPP one because it doesn't seem to execute most of the time :/)

Keep up the posts! I'm always interested in seeing this sort of information. :)

Cheers,

-naota
see the wiki for info on building a cross-compiler. That is the only way as most windows compilers are hack jobs so that it will run on windows so they don't have very strong support for anything but PE.

Re: What's your toolchain

Posted: Thu Apr 30, 2009 10:31 pm
by neon
NASM and MSVC++ 2008-includes its compiler+linker.

We get these toolchain posts quite often. You can also just search the forums for the past 10 or so other threads like this...

Re: What's your toolchain

Posted: Wed May 06, 2009 11:10 pm
by UbarDPS
Visual Studio 2008
Borland C++Builder 4
Borland C++ 5.02
Turbo Assembler 5.0

Re: What's your toolchain

Posted: Thu May 07, 2009 12:39 am
by ruisleipa
I use the following for my project:
  • nasm
  • GNU binutils
  • GNU make
For debugging I use bochs builtin debugger.

I might start also using as86 and bcc for usermode programs for my operating system.

Re: What's your toolchain

Posted: Thu May 07, 2009 8:30 am
by Tomaka17
Am I the only one using an emulator for O/S developpment? :P

When I want to work on my project I use VirtualBox to start a text-mode Debian virtual machine which contains all the stuff for compilation (GCC, binutils, etc.)
...and I edit the sourcecode on Windows with SciTE

Re: What's your toolchain

Posted: Thu May 07, 2009 6:26 pm
by Love4Boobies
Tomaka17 wrote:Am I the only one using an emulator for O/S developpment? :P
I'm not sure that's part of the toolchain par se.

Anyway, I'm using GCC 4.4.0 (used to also use NASM - which I still miss) and UPX to compress the kernel (yes, it works!). Working on my own compiler/assembler.