Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Requests   » dosemu

UBBFriend: Email this page to someone!    
Author Topic: dosemu
rimrat
Junior Member
Member # 252

posted December 09, 2001 02:33 PM      Profile for rimrat        Edit/Delete Post  Reply With Quote 
Please port dosemu to OS X. Connectix is unlikely to convert its DOS emulator beyond Virtual PC 3 for OS 9 and below.
Posts: 1 | Registered: Dec 2001  |  IP: Logged
willy wonka
Member
Member # 32

posted December 10, 2001 06:42 AM      Profile for willy wonka   Author's Homepage        Edit/Delete Post  Reply With Quote 
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


Posts: 92 | Registered: Aug 2001  |  IP: Logged
willy wonka
Member
Member # 32

posted December 11, 2001 11:27 AM      Profile for willy wonka   Author's Homepage        Edit/Delete Post  Reply With Quote 
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


Posts: 92 | Registered: Aug 2001  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2