ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] success: fpc cross win32
@ 2005-10-16 13:19 Alexey Tourbin
  2005-10-16 20:07 ` Vitaly Lipatov
  0 siblings, 1 reply; 6+ messages in thread
From: Alexey Tourbin @ 2005-10-16 13:19 UTC (permalink / raw)
  To: devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-10-25 21:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-16 13:19 [devel] success: fpc cross win32 Alexey Tourbin
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

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