From: Alexey Tourbin <at@altlinux.ru> To: devel@altlinux.ru Subject: [devel] success: fpc cross win32 Date: Sun, 16 Oct 2005 13:19:11 -0000 Message-ID: <20051016130235.GJ7934@solemn.turbinal.org> (raw) [-- Attachment #1: Type: text/plain, Size: 1590 bytes --] $ pwd /home/at/RPM/BUILD/fpc/rtl $ make OS_TARGET=win32 BINUTILSPREFIX=i386-mingw32msvc- CREATESMART=1 RELEASE=1 make[1]: Entering directory `/home/at/RPM/BUILD/fpc/rtl/win32' /bin/mkdir -p ../../rtl/units/i386-win32 i386-mingw32msvc-as -o ../../rtl/units/i386-win32/wprt0.o wprt0.as i386-mingw32msvc-as -o ../../rtl/units/i386-win32/wdllprt0.o wdllprt0.as i386-mingw32msvc-as -o ../../rtl/units/i386-win32/gprt0.o gprt0.as i386-mingw32msvc-as -o ../../rtl/units/i386-win32/wcygprt0.o wcygprt0.as /usr/bin/ppc386 -Ur -Twin32 -XPi386-mingw32msvc- -Xc -Xr -CX -Xs -OG2p3 -n -Fi../inc -Fi../i386 -FE. -FU../../rtl/units/i386-win32 -di386 -dRELEASE -Us -Sg system.pp ... /usr/bin/ppc386 -Ur -Twin32 -XPi386-mingw32msvc- -Xc -Xr -CX -Xs -OG2p3 -n -Fi../inc -Fi../i386 -FE. -FU../../rtl/units/i386-win32 -di386 -dRELEASE winsysut.pp make[1]: Leaving directory `/home/at/RPM/BUILD/fpc/rtl/win32' $ cat test.pas program test; begin writeln('test'); end. $ fpc -Fu./units/i386-win32 -Twin32 -XPi386-mingw32msvc- -OG2p3 -XX -Xs test.pas $ l test.exe -rwxr-xr-x 1 at at 25600 Oct 16 16:54 test.exe $ file test.exe test.exe: MS Windows PE 32-bit Intel 80386 console executable not relocatable $ cp -av test.exe ~/.wine/drive_c/windows `test.exe' -> `/home/at/.wine/drive_c/windows/test.exe' $ DISPLAY=:1 wine test.exe Warning: could not find DOS drive for current working directory '/home/at/RPM/BUILD/fpc/rtl', starting in the Windows directory. test $ Работает! Интересно, без DISPLAY'я консольные программы под wine'ом как-нибудь запустить можно? xvfb-run? :-) [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2005-10-16 13:19 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-10-16 13:19 Alexey Tourbin [this message] 2005-10-16 20:07 ` Vitaly Lipatov 2005-10-16 20:25 ` [devel] " Alexey Tourbin 2005-10-24 8:20 ` Vitaly Lipatov 2005-10-25 2:01 ` Alexey Tourbin 2005-10-25 21:43 ` Vitaly Lipatov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20051016130235.GJ7934@solemn.turbinal.org \ --to=at@altlinux.ru \ --cc=devel@altlinux.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git