What's your toolchain

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
User avatar
AaronMiller
Member
Member
Posts: 81
Joined: Thu Mar 06, 2008 1:26 pm
Location: Roseville, California (USA)
Contact:

What's your toolchain

Post 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
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Re: What's your toolchain

Post 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.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: What's your toolchain

Post 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
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: What's your toolchain

Post 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.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: What's your toolchain

Post 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
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Re: What's your toolchain

Post 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.
Last edited by pcmattman on Tue Apr 28, 2009 4:34 pm, edited 1 time in total.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: What's your toolchain

Post by Solar »

"The Classic". Gentoo Linux, vim / konsole, GCC / binutils, make, gdb. Subversion. Everything else is frills. ;)
Every good solution is obvious once you've found it.
User avatar
ucosty
Member
Member
Posts: 271
Joined: Tue Aug 08, 2006 7:43 am
Location: Sydney, Australia

Re: What's your toolchain

Post 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.
The cake is a lie | rackbits.com
User avatar
AaronMiller
Member
Member
Posts: 81
Joined: Thu Mar 06, 2008 1:26 pm
Location: Roseville, California (USA)
Contact:

Re: What's your toolchain

Post 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
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

Re: What's your toolchain

Post 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.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: What's your toolchain

Post 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...
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
UbarDPS
Posts: 14
Joined: Wed May 06, 2009 10:57 pm

Re: What's your toolchain

Post by UbarDPS »

Visual Studio 2008
Borland C++Builder 4
Borland C++ 5.02
Turbo Assembler 5.0
ruisleipa
Member
Member
Posts: 46
Joined: Wed Sep 10, 2008 8:39 am
Location: Finland

Re: What's your toolchain

Post 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.
http://code.google.com/p/rmmtos/ - Real Mode MultiTasking Operating System
User avatar
Tomaka17
Member
Member
Posts: 67
Joined: Thu Oct 02, 2008 8:20 am

Re: What's your toolchain

Post 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
MysteriOS
Currently working on: TCP/IP
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: What's your toolchain

Post 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.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Post Reply