dosemu2 / comcom64

64bit command.com
https://github.com/dosemu2/comcom32/
GNU General Public License v3.0
32 stars 5 forks source link

README with build instructions #36

Closed jschwartzenberg closed 7 months ago

jschwartzenberg commented 4 years ago

This repo needs it :)

stsp commented 4 years ago

make?

jschwartzenberg commented 4 years ago

I think most people will get:

echo '"git 8d136206227b"' | cmp -s - "version" || echo '"git 8d136206227b"' > "version"
i586-pc-msdosdjgpp-gcc -Wall -O2 -finline-functions -Wmissing-declarations  -c command.c -o command.o
make: i586-pc-msdosdjgpp-gcc: Opdracht niet gevonden
make: *** [Makefile:41: command.o] Fout 127

I forgot where I got the compiler from last time :)

stsp commented 4 years ago

make deb? https://launchpad.net/~jwt27/+archive/ubuntu/djgpp-toolchain

jschwartzenberg commented 4 years ago

Yeah that needs to be documented :)

Hope distros will adopt DJGPP though, it would help a lot.

stsp commented 4 years ago

Could you please send a patch? :)

jschwartzenberg commented 4 years ago

Are you aware of any existing packages for non-Ubuntu systems?

stsp commented 4 years ago

ftp://ftp.delorie.com/pub/djgpp/rpms/

argenkiwi commented 3 years ago

I've been trying to build dosemu2 on Tiny Core Linux. I managed to get it running, but I was seeing the error @jschwartzenberg mentioned above. I had to download the binaries for DJGPP and set some environment variables manually to be able to run make. After that, the only way I was able to execute dosemu with it was by copying command.com into drive_c manually. Is that expected?

stsp commented 3 years ago

No. You should do sudo make install and dosemu2 should pick that up.

argenkiwi commented 3 years ago

Thanks. That seems to work.

I was trying to build a tcz extension for Tiny Core which entails running sudo make DESTDIR=tmp/[a directory] install and then packaging it using mksquashfs and then loading the extension but that wasn't working.

I now get an error when dosemu starts: "Cannot open D:\FDPPAUTO.BAT" and then I cannot execute any other .BAT or .EXE files. Any clues if it is related to this library? I am wondering if there is some permissions issue or if it is due to running on Tiny Core (32 bit). I had to also build dosemu2 and fdpp from source, but I did not notice anything strange when I built them. Never mind, it was the same issue as above, making tcz packages does not seem to work, installing directly on the active instance does the job (too bad it's not persisted across sessions).

stsp commented 3 years ago

Probably you need to alter prefix rather than to use DESTDIR.

stsp commented 7 months ago

README is now provided.