Superuser

Autor Thema: Bochs compiliren  (Gelesen 8848 mal)

Lordy

  • Gast
Re: Bochs compiliren
« Antwort #15 am: 26. Februar 2003, 01:43:19 »
Hallo,

mein Path wirkt halt wunder ;)

Ja laeuft nur auf einer CPU weil so nur ein Prozess gestartet wird. Du kannst mit '(g)make -j 2' zB zwei Prozesse starten. Achtung, nicht jedes Programm kann mit mehreren Prozessen compiliert werden. Machmal gibt das fehler, machmal schaltet das Programm selber nur auf einen Prozess.


Gruss,
chris

sonnenblen.de - Das unabhängige Sun User Forum

Re: Bochs compiliren
« Antwort #15 am: 26. Februar 2003, 01:43:19 »

Offline Philipp

  • Sobl Master
  • ****
  • Beiträge: 282
Re: Bochs compiliren
« Antwort #16 am: 26. Februar 2003, 01:50:14 »
Na egal ging schnell durch
danach tippte ich ein make install ein Es kam ein Error drinne vor insgesamt lief es aber ohne Abbruch durch

bash-2.05# make install
cd iodev && \
make  libiodev.a
`libiodev.a' is up to date.
echo done
done
cd cpu && \
make  libcpu.a
`libcpu.a' is up to date.
echo done
done
cd memory && \
make  libmemory.a
`libmemory.a' is up to date.
echo done
done
cd gui && \
make  libgui.a
`libgui.a' is up to date.
echo done
done
cd fpu && \
make  libfpu.a
`libfpu.a' is up to date.
echo done
done
for i in /usr/local/bin; do mkdir -p $i && test -d $i && test -w $i; done
if test -f install-x11-fonts; then chmod a+x install-x11-fonts; fi
if test -f test-x11-fonts; then chmod a+x test-x11-fonts; fi
for i in bochs bximage; do if test -f $i; then cp $i /usr/local/bin; else cp /export/home/downloads/bochs/bochs-2.0.2/$i /usr/local/bin; fi; done
for i in bochsdbg; do if test -f $i; then cp $i /usr/local/bin; else cp /export/home/downloads/bochs/bochs-2.0.2/$i /usr/local/bin; fi; done
cp: Zugriff auf /export/home/downloads/bochs/bochs-2.0.2/bochsdbg nicht möglich
*** Error code 2 (ignored)
mkdir -p /usr/local/man/man1
mkdir -p /usr/local/man/man5
for i in bochs bximage bochs-dlx; do cat /export/home/downloads/bochs/bochs-2.0.2/doc/man/$i.1 | sed 's/@version@/2.0.2/g' | gzip -9 -c >  /usr/local/man/man1/$i.1.gz; chmod 644 /usr/local/man/man1/$i.1.gz; done
for i in bochsrc; do cat /export/home/downloads/bochs/bochs-2.0.2/doc/man/$i.5 | gzip -9 -c >  /usr/local/man/man5/$i.5.gz; chmod 644 /usr/local/man/man5/$i.5.gz; done
for i in /usr/local/share/bochs;      do mkdir -p $i && test -d $i && test -w $i; done
for i in bios/BIOS-* bios/VGABIOS* install-x11-fonts test-x11-fonts font/vga.pcf; do if test -f $i; then cp $i /usr/local/share/bochs; else cp /export/home/downloads/bochs/bochs-2.0.2/$i /usr/local/share/bochs; fi; done
cp -r /export/home/downloads/bochs/bochs-2.0.2/gui/keymaps /usr/local/share/bochs
for i in /usr/local/share/doc/bochs; do mkdir -p $i && test -d $i && test -w $i; done
for i in CHANGES COPYING README; do if test -f $i; then cp $i /usr/local/share/doc/bochs; else cp /export/home/downloads/bochs/bochs-2.0.2/$i /usr/local/share/doc/bochs; fi; done
rm -f /usr/local/share/doc/bochs/README
cat /export/home/downloads/bochs/bochs-2.0.2/build/linux/README.linux-binary /export/home/downloads/bochs/bochs-2.0.2/README > /usr/local/share/doc/bochs/READMEcp /export/home/downloads/bochs/bochs-2.0.2/.bochsrc /usr/local/share/doc/bochs/bochsrc-sample.txt
bash-2.05#

Ich wechselte dann in /usr/local/bin/
hab bochs eingegeben

folgendes kam

------------------------------
Bochs Configuration: Main Menu
------------------------------

This is the Bochs Configuration Interface, where you can describe the
machine that you want to simulate.  Bochs has already searched for a
configuration file (typically called bochsrc.txt) and loaded it if it
could be found.  When you are satisfied with the configuration, go
ahead and start the simulation.

You can also start bochs with the -q option to skip these menus.

1. Restore factory default configuration
2. Read options from...
3. Edit options
4. Save options to...
5. Begin simulation
6. Quit now

Please choose one: [3] 5
00000000000i[     ] installing x module as the Bochs GUI
00000000000e[     ] No romimage to load. Is your bochsrc file loaded/valid ?
00000000000i[MEM0 ] allocated memory at 13cba8. after alignment, vector=13d000
00000000000i[MEM0 ] 4.00MB
00000000000i[CMOS ] Setting initial clock to: Tue Feb 25 21:37:07 2003 (time0=1046205427)
00000000000i[DMA  ] channel 4 used by cascade
00000000000i[DMA  ] channel 2 used by Floppy Drive
00000000000p[XGUI ] >>PANIC<< Could not open vga font. See docs-html/install.html
00000000000i[SYS  ] Last time is 1046205427
00000000000i[XGUI ] Exit.
00000000000i[     ] restoring default signal behavior
========================================================================
Bochs is exiting with the following message:
[XGUI ] Could not open vga font. See docs-html/install.html
========================================================================
00000000000i[CTRL ] quit_sim called with exit code 1
bash-2.05#

Weis jemand wie ich den VGA font hinbekomme ?


SmellyCat

  • Gast
Re: Bochs compiliren
« Antwort #17 am: 26. Februar 2003, 15:20:59 »
müsstest Du mit './configure --with-svga --enable-vbe'  erstmal SVGA hineinkompilieren

Ich weiss nicht wie es nun exakt weitergeht aber IMO musst Du Bochs nun eine DOS oder sonst was Installation geben... Manuel's dazu lesen, steht bestimmt irgendwo drinnen und für den Anfang sollte FreeDOS als OS reichen.

bye

Mats

PS: Doku lesen hilft ;)

http://bochs.sourceforge.net/doc/docbook/user/x1048.html
« Letzte Änderung: 26. Februar 2003, 15:38:26 von SmellyCat »