Thanks for your reply. I was trying to do all that on FC9 but unfortunately my system crashed and I have installed Ubuntu now. I am new in dealing with things like setting up toolchain etc. I got gcc-4.3.2 installed when I installed Ubuntu. I am trying to build gcc-3.3.3 so that I can use that and build bochs. But I am getting compilation error even in build process of gcc-3.3.3. Below are the steps I am following:
1. $ cd gcc-3.3.3 2. ./configure 3. make ----------------------- ... some output then following error gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I. -I./. -I./config -I./../include ./read-rtl.c -o read-rtl.o In file included from ./read-rtl.c:24: ./rtl.h:132: warning: type of bit-field 'code' is a GCC extension ./rtl.h:135: warning: type of bit-field 'mode' is a GCC extension ./read-rtl.c: In function 'fatal_with_file_and_line': ./read-rtl.c:53: warning: traditional C rejects ISO C style function definitions ./read-rtl.c: In function 'read_rtx': ./read-rtl.c:653: error: lvalue required as increment operand make[1]: *** [read-rtl.o] Error 1 make[1]: Leaving directory `/home/arvind/osEngg/tools/gcc-3.3.3/gcc' ------------------- What could be wrong and before compiling bochs how can I build and install gcc-3.3.3? Thanks a lot On Fri, Dec 26, 2008 at 7:25 AM, Thomas Petazzoni < thomas.petazz...@free-electrons.com> wrote: > Le Fri, 26 Dec 2008 05:45:17 -0500, > "sahlot arvind" <asah...@gmail.com> a écrit : > > > I am trying to use bochs for learning linux kernel. But I am unable > > to build bochs from its source code. > > You should probably try to use Qemu <http://bellard.org/qemu/>, it has > a much larger user and developer base than Bochs, and is actively > maintained. > > Thomas > -- > Thomas Petazzoni, Free Electrons > Kernel, drivers and embedded Linux development, > consulting, training and support. > http://free-electrons.com > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to ecar...@nl.linux.org > Please read the FAQ at http://kernelnewbies.org/FAQ > > -- http://linuxexplained.blogspot.com