dosemu

Ask us to port a specific application.

dosemu

Postby rimrat » Sun Dec 09, 2001 10:33 pm

Please port dosemu to OS X. Connectix is unlikely to convert its DOS emulator beyond Virtual PC 3 for OS 9 and below.
rimrat
 
Posts: 1
Joined: Sun Dec 09, 2001 8:00 pm

Re: dosemu

Postby orange1 » Mon Dec 10, 2001 2:42 pm

for more fun
first, the project is findable at http://freshmeat.net/projects/dosemu/
i had to install bash, libhistory, and libintl [all available here] to even get started
then i get to play with bin86, http://freshmeat.net/projects/bin86/, another requirement for dosemu. the as86 part compiles fine, so long as you take of the "-s" from the final compile line. i did the final cc line myself, but i imagine you can do it through "make" by changing as/Makefile so that LDFLAGS= nada [nada being nothing, of course, don't type nada]
problem then is ld86. it complains that i don't have a.out.h, and copying that from another linux or unix system doesn't make for a happy ld86.
question now is, where can one get a.out.h, or can one get by without it?
--
-willy
Freedom will henceforth be compulsory. -Random Party Manifesto
orange1
 
Posts: 92
Joined: Tue Aug 21, 2001 7:00 pm

Re: dosemu

Postby orange1 » Tue Dec 11, 2001 7:27 pm

played with bin86 a wee bit more last night. i was able to get the ld86 part to compile by changing it to -DNO_AOUT in the Makefile, and I think I changed #include <malloc.h> to #include <sys/malloc.h> in objdump86.c
so, that compiles, don't know if it works right or not, but that dosemu doesn't even start to compile.

i, of course, had to ln -s /usr/libexec/config.guess . and ln -s /usr/libexec/config.sub .
so, now i get this:
make[1]: *** No rule to make target `/Users/willy/Desktop/install/dosemu-1.0.2/src/arch/Darwin/Makefile.main'. Stop.
so what do i do? cp -R src/arch/linux / src/arch/Darwin/
now i get something nasty:
tools86.c:223: syntax error, missing `;' after `)'
tools86.c:230: illegal expression, found `inline'
tools86.c:311: illegal external declaration, found `while'
tools86.c:311: illegal method selector, found `1'
tools86.c:357: illegal external declaration, found `return'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
tools86.c: In function `change_aout':
tools86.c:187: `gnu' undeclared (first use in this function)
tools86.c:187: (Each undeclared identifier is reported only once
tools86.c:187: for each function it appears in.)
tools86.c:189: sizeof applied to an incomplete type
tools86.c:197: arithmetic on pointer to an incomplete type
tools86.c:197: invalid use of undefined type `struct sym_entry'
tools86.c:197: dereferencing pointer to incomplete type
tools86.c:197: arithmetic on pointer to an incomplete type
tools86.c:197: invalid use of undefined type `struct sym_entry'
tools86.c:197: dereferencing pointer to incomplete type
make[2]: *** [tools86] Error 1
make[1]: *** [tools] Error 2
make: *** [default] Error 2

but work calls, so i leave it at that for now.
--
-willy
Freedom will henceforth be compulsory. -Random Party Manifesto
orange1
 
Posts: 92
Joined: Tue Aug 21, 2001 7:00 pm


Return to Requests

Who is online

Users browsing this forum: No registered users and 46 guests

cron