#Not eating till I ported DOSEMU2 to Android
1 messages · Page 1 of 1 (latest)
good luck o7
It's always a good idea to build it on a supported platform first before trying to port it.
Ah yes, great warnings
Okay, I indeed am able to compile it, but dosemu doesn't do anything interesting if I don't also compile fdpp. Gonna fix that
Well, Nix doesn't have fdpp as a package, so unfortunately we need to build it from source
Okay, so I don't want to deal with Android NDK. I'm going to compile dosemu with cosmocc instead. We'll eventually be able to run it in Termux anyways
I've passed the configure stage, now porting offically starts. The first problem occurs fairly quickly:
make[2]: Entering directory '/home/rimuru/dosemu2/src/base/video'
cosmocc -c -imacros config.hh -MD -DCFLAGS_STR=" -fplan9-extensions -Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -fms-extensions -pthread -Wno-unused-result -Wcast-qual -Wwrite-strings -Wstrict-aliasing=2 -Wundef -Wno-address-of-packed-member -ggdb3 -fpie -O2 " -I../../../src/include -I../../../src/plugin/include -I/home/rimuru/dosemu2/src/base/bios/x86 -I/home/rimuru/dosemu2/src/include -I/home/rimuru/dosemu2/src/base/lib -fplan9-extensions -Wall -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -fms-extensions -pthread -Wno-unused-result -Wcast-qual -Wwrite-strings -Wstrict-aliasing=2 -Wundef -Wno-address-of-packed-member -ggdb3 -fpie -O2 -o text.o text.c
cosmocc: fatal error: config.hh: no such file
compilation terminated.
Some progress: the compiler actually compiled something
Uh, this is way harder than I thought. Should I delete this post and pretend nothing happened?
you still got plenty of time left
i think the world reccord for not eating is 60ish days iirc
uuuuh
yea just deleate this
I admit that's my skill issue
I watched Andreas Kling's video, saw he doing porting smoothly and naively thought that I could do the same thing
this?
oh i ment how were you planning on doing it
Basically compile it with cosmocc and later run the compiled binary directly in Termux
Cosmopolitan is a magical project done by Justine Tunney. Basically you compile your program once and the binary automatically runs on several Operating Systems. I have no idea about how it works
Anyway, I think I'm deleting this soon and accept I'm a loser for now lmao