Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it require old gcc for compilation? #1

Open
Randrianasulu opened this issue Nov 11, 2024 · 6 comments
Open

Does it require old gcc for compilation? #1

Randrianasulu opened this issue Nov 11, 2024 · 6 comments

Comments

@Randrianasulu
Copy link

On 11.2.0 (Slackware 15.0) it surely dies in

/dev/shm/qemu-090-ns/target-i386/op.c:1653:14: error: frame pointer required, but reserved          1653 | void OPPROTO op_fldl_FT0_A0(void)

after chmod +x ./configure configure says it want gcc 3.4 ;)

May be adding this to readme will help

@Randrianasulu
Copy link
Author

in gcc (3.4.6 core) itself

./unwind-dw2.c: In function `uw_frame_state_for':                                                  ./unwind-dw2.c:1031: error: field `info' has incomplete type                                       ./unwind-dw2.c:1031: error: field `uc' has incomplete type

just commented out line 1031 from unwind-dw2.c

installed into prefix /opt/gcc346

ln -s /opt/gcc346/bin/gcc /opt/gcc346/bin/gcc34

for qemu

I changed cc="gcc" to cc=$CC in configure so it respect CC variable

in block-raw.c

added signal.h to linux ifdef block

./configure --target-list=i386-softmmu

make -j8

now I can run qemu itself from i386-softmmu folder, but it still can't find EIDE controller for OPENSTEP 4.2

@Randrianasulu
Copy link
Author

 ./i386-softmmu/qemu -hda /dev/shm/OPENSTEP_4.2.iso -L pc-bios -boot a -fda /dev/shm/FLOPPY144.img -M pc -hdb /dev/shm/verytmp2

controller type 6 (on 3rd screen - just IDEA/ATAPI, not dual EIDE!).
future Boot disk on hdb, cdrom on hda, root=hd0 in installer

@Randrianasulu
Copy link
Author

real strange, now it installs and boots but mouse does not work?

./i386-softmmu/qemu -L pc-bios -M pc -hda /dev/shm/verytmp2 -rhapsodymouse -hdb /dev/shm/OPENSTEP_4.2.iso

os42-qemu-090ns

I mean it does not move at all :(

so I can't even shut down machine properly

btw

"change fda path_to_floppy.img" in monitor (ctrl-alt-f2) changes floppy in this version (in mainstream it floppy0)

@Randrianasulu
Copy link
Author

it works!

just need to boot with config=Default

and start qemu in fullscreen

openstep42-qemu-090-neozeed.mp4

@Randrianasulu
Copy link
Author

also, for such old qemu you need qcow, not qcow2 if you want some compression:

qemu-img convert -c -O qcow  /dev/shm/verytmp2 /dev/shm/openstep42-ide-vga.qcow

seems to work fine, I put it in ~/bin and run like

#!/bin/bash
/home/guest/bin/qemu-090-nz/usr/local/bin/qemu -k en-us  -L /home/guest/bin/qemu-090-nz/usr/local/share/qemu/ \
-M pc -hda /home/guest/QEMU/openstep42-ide-vga.qcow -full-screen
xrandr -s 4

xrandr -s 4 because my VGA cable ate edid, so native mode is not mode 0 - local thing.

@neozeed
Copy link
Owner

neozeed commented Nov 19, 2024

Sorry I missed all of this, great job on pushing through and getting it to run!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants