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

* Re: [devel] success: fpc cross win32
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Vitaly Lipatov @ 2005-10-16 20:07 UTC (permalink / raw)
  To: devel

On Sunday 16 October 2005 17:02, Alexey Tourbin wrote:
> Работает!  Интересно, без DISPLAY'я консольные программы под
> wine'ом как-нибудь запустить можно?  xvfb-run? :-)
А в чём проблема? Берёте и запускаете без DISPLAY, ему Иксы не 
нужны.

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX! http://freesource.info


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

* [devel] Re: success: fpc cross win32
  2005-10-16 20:07 ` Vitaly Lipatov
@ 2005-10-16 20:25   ` Alexey Tourbin
  2005-10-24  8:20     ` Vitaly Lipatov
  0 siblings, 1 reply; 6+ messages in thread
From: Alexey Tourbin @ 2005-10-16 20:25 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

On Mon, Oct 17, 2005 at 12:07:01AM +0400, Vitaly Lipatov wrote:
> On Sunday 16 October 2005 17:02, Alexey Tourbin wrote:
> > Работает!  Интересно, без DISPLAY'я консольные программы под
> > wine'ом как-нибудь запустить можно?  xvfb-run? :-)
> А в чём проблема? Берёте и запускаете без DISPLAY, ему Иксы не 
> нужны.

$ DISPLAY=:1 wine test.exe
test
$ wine test.exe
wine: Could not load graphics driver 'x11drv'.
Make sure that your X server is running and that $DISPLAY is set correctly.
$

Но у меня старый wine.
wine-20040914-alt1

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [devel] Re: success: fpc cross win32
  2005-10-16 20:25   ` [devel] " Alexey Tourbin
@ 2005-10-24  8:20     ` Vitaly Lipatov
  2005-10-25  2:01       ` Alexey Tourbin
  0 siblings, 1 reply; 6+ messages in thread
From: Vitaly Lipatov @ 2005-10-24  8:20 UTC (permalink / raw)
  To: devel; +Cc: Alexey Tourbin

On Monday 17 October 2005 00:25, Alexey Tourbin wrote:
> On Mon, Oct 17, 2005 at 12:07:01AM +0400, Vitaly Lipatov wrote:
> > On Sunday 16 October 2005 17:02, Alexey Tourbin wrote:
> > > Работает!  Интересно, без DISPLAY'я консольные программы
> > > под wine'ом как-нибудь запустить можно?  xvfb-run? :-)
> >
> > А в чём проблема? Берёте и запускаете без DISPLAY, ему Иксы
> > не нужны.
>
> $ DISPLAY=:1 wine test.exe
> test
> $ wine test.exe
> wine: Could not load graphics driver 'x11drv'.
Без DISPLAY - это 
$ DISPLAY= wine test.exe
А вы пытаетесь запустить с Иксами, к которым у вас нет прав?

> Make sure that your X server is running and that $DISPLAY is
> set correctly. $
>
> Но у меня старый wine.
> wine-20040914-alt1

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX! http://freesource.info


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

* [devel] Re: success: fpc cross win32
  2005-10-24  8:20     ` Vitaly Lipatov
@ 2005-10-25  2:01       ` Alexey Tourbin
  2005-10-25 21:43         ` Vitaly Lipatov
  0 siblings, 1 reply; 6+ messages in thread
From: Alexey Tourbin @ 2005-10-25  2:01 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 983 bytes --]

On Mon, Oct 24, 2005 at 12:20:03PM +0400, Vitaly Lipatov wrote:
> On Monday 17 October 2005 00:25, Alexey Tourbin wrote:
> > On Mon, Oct 17, 2005 at 12:07:01AM +0400, Vitaly Lipatov wrote:
> > > On Sunday 16 October 2005 17:02, Alexey Tourbin wrote:
> > > > Работает!  Интересно, без DISPLAY'я консольные программы
> > > > под wine'ом как-нибудь запустить можно?  xvfb-run? :-)
> > >
> > > А в чём проблема? Берёте и запускаете без DISPLAY, ему Иксы
> > > не нужны.
> >
> > $ DISPLAY=:1 wine test.exe
> > test
> > $ wine test.exe
> > wine: Could not load graphics driver 'x11drv'.
> Без DISPLAY - это 
> $ DISPLAY= wine test.exe
> А вы пытаетесь запустить с Иксами, к которым у вас нет прав?

Нет.  У меня иксов нет, то есть по умолчанию переменная DISPLAY в
состоянии unset (даже не null, как в случае с DISPLAY=).

> > Make sure that your X server is running and that $DISPLAY is
> > set correctly. $
> >
> > Но у меня старый wine.
> > wine-20040914-alt1

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [devel] Re: success: fpc cross win32
  2005-10-25  2:01       ` Alexey Tourbin
@ 2005-10-25 21:43         ` Vitaly Lipatov
  0 siblings, 0 replies; 6+ messages in thread
From: Vitaly Lipatov @ 2005-10-25 21:43 UTC (permalink / raw)
  To: devel

On Tuesday 25 October 2005 06:01, Alexey Tourbin wrote:
> > > $ wine test.exe
> > > wine: Could not load graphics driver 'x11drv'.
> >
> > Без DISPLAY - это
> > $ DISPLAY= wine test.exe
> > А вы пытаетесь запустить с Иксами, к которым у вас нет прав?
>
> Нет.  У меня иксов нет, то есть по умолчанию переменная
> DISPLAY в состоянии unset (даже не null, как в случае с
> DISPLAY=).
Да, это я ошибся.
В общем, 
unset DISPLAY; wcmd должно работать, правда я сейчас заметил что 
в последнем WINE консоль-то поломана...
А так работает - при отсутствии Иксов используется ttydrv, а 
никакой не x11drv. WINE из Сизифа?

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX! http://freesource.info


^ 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