목록작업/OvmStart(2010) (38)
도전2022
Wine architecture Global picture * 이미지 검색해서 나타나지 않아서 Wine Developer’s Guide 문서를 한번 그려봄.
qemu-i386 a.out execve("/usr/bin/qemu-i386", ["qemu-i386", "a.out"], [/* 40 vars */]) = 0 brk(0) = 0x4210e000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4212c000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {..
# ldd /usr/bin/wine linux-gate.so.1 => (0x00d83000) libwine.so.1 => /usr/bin/../lib/libwine.so.1 (0x00bbf000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00224000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0023d000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00df6000) /lib/ld-linux.so.2 (0x007f8000) # ldd /usr/bin/wineserver linux-gate.so.1 => (0x00d41000) libwine.so.1 => /us..
# ../qemu-0.12.1/configure --target-list=i386-linux-user --prefix=/root/src/oQemu2/xbin >> 1.out # make >> 2.out # make install >> 3.out # ./qemu-i386 dir_static a.out dir dir3 dir_static qemu-i386 # ./qemu-i386 dir3 qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault 이유를 찾자
wine-1.1.33 설치하기, http://www.winehq.org/ 1) 설치전 필요한 파일 flex, bison # apt-get install flex # apt-get install bison Xlib/Xfree86 : - (libggi-target-x, liballegro4.2 필요 없는듯, --without-x option으로 설치는 가능해보임. ) 설치 - # sh install-wine-deps.sh로 해결 http://wiki.winehq.org/Recommended_Packages 2) 설치하기 root@hotdigi-desktop:~/src/oWine# ../wine-1.1.33/configure --prefix=/root/src/oW/xbin root@hotdigi-desktop..
Hello World 말고 다른 APPs을 테스트 해보자. 1. 4칙 연삭 (OK) 2. coreutils 테스트 http://www.gnu.org/software/coreutils/ [ cut false ls pathchk sha224sum sync unexpand base64 date fmt md5sum pinky sha256sum tac uniq basename dd fold mkdir pr sha384sum tail unlink cat df groups mkfifo printenv sha512sum tee uptime chcon dir head mknod printf shred test users chgrp dircolors hostid mktemp ptx shuf timeout vdir chmo..
root@hotdigi-desktop:~/src/obj2# make rm -f wine && ln -s ../wine-1.1.33/tools/winewrapper wine make[1]: Entering directory `/root/src/obj2/tools' gcc -c -I../../wine-1.1.33/tools -I. -I../../wine-1.1.33/include -I../include -D__WINESRC__ -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wtype-limits -Wpointer-arith -g -static -o makedep.o ../../..
root@hotdigi-desktop:~/src/WineObj# ../wine-1.1.33/configure --prefix="/bin" --without-freetype checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compilin..