top of page

Final steps, errors and solutions of build

  • Фото автора: Алексей Захаров
    Алексей Захаров
  • 3 янв. 2016 г.
  • 2 мин. чтения

Final steps of building Wine in DOS. I hope it will work :)

Read this post for more information about used tricks:

1. In /if1632/ directory we need partial linking again. Use this batch (and use it on DOSBox or real DOS, in NTVDM it causes stask overflow)

@ld -r dummy.o relay.o thunk.o advapi32.o comctl32.o comdlg32.o commdlg.o compobj.o crtdll.o ddeml.o -o if16321.o @ld -r gdi.o gdi32.o kernel.o kernel32.o keyboard.o lz32.o -o if16326.o @ld -r lzexpand.o mmsystem.o mouse.o ntdll.o ole2.o -o if16322.o @ld -r ole2conv.o ole2disp.o ole2nls.o ole2prox.o ole32.o olecli.o olesvr.o shell.o shell32.o sound.o -o if16323.o @ld -r storage.o stress.o system.o toolhelp.o user.o user32.o ver.o version.o w32sys.o win87em.o -o if16324.o @ld -r winmm.o winsock.o winspool.o wprocs.o wsock32.o callfr16.o callfr32.o callto16.o callto32.o except.o -o if16325.o @ld -r if16321.o if16322.o if16323.o if16324.o if16325.o if16326.o -o if1632.o @del if16321.o if16322.o if16323.o if16324.o if16325.o if16326.o

2. Despite of already built object file if1632.o, main makefile wants to execute long command to build if1632.o. Of course, it fails, so comment the following string: "checkbuild $(MODULE).o" (near "all:" target) in if1632/Makefile. Comment it with # (this is comment sign in makefiles).

3. In /miscemu/ directory we again need partial linking: @ld -r cpu.o dosmem.o dpmi.o emulate.o instr.o int10.o int13.o int1a.o int21.o -o miscemu1.o

@ld -r int25.o int26.o int2a.o int2f.o int4b.o int5c.o inters.o ioports.o vxd.o -o miscemu2.o

@ld -r miscemu1.o miscemu2.o -o miscemu.o

@del miscemu1.o miscemu2.o

4. Final step! We need to execute command for GCC (see picture in post). This command is very long, and partial linking is not a solution. What we will do:

4.1. Copy all files listed in the separate directory.

4.2. Short name of some files. For example, debugger.o -> dbg.o

4.3. Run this command for files in directory from 4.1, don't forget to add suffix ".exe" for "-o wine" (you need "-o wine.exe").

I will tell you about results tomorrow.

 
 
 

コメント


Subscribe to news

Yeah :) You are with me now!

  • Black Facebook Icon
  • Black Twitter Icon
  • Black Pinterest Icon
  • Black Flickr Icon
  • Black Instagram Icon

© 2015-2016 by Alexey Zakharov (Napoleon80386). Proudly created with Wix.com

bottom of page