ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] FreePascal 2.0.2
@ 2006-04-28 21:50 Alexey Tourbin
  2006-05-02  7:55 ` Fr. Br. George
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Tourbin @ 2006-04-28 21:50 UTC (permalink / raw)
  To: devel

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

Я собрал fpc-2.0.2.  Пока только для %ix86.  Есть проблема с
bootstrap'ом.  У него в BuildRequires прописано fpc.  Но пакет fpc-1.0
был пермещен в orphaned, а fpc-2.0.0 есть только в daedalus.

В результате без дополнительного вмешательства забутстрапить fpc-2.0.2
на текущем сизифе не удастся.  Заворачивать бинарик в %SOURCE не
хотелось бы.  Если incoming смог бы организовать сборку с fpc-2.0.0
из Daedalus, было бы круто.

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

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

* Re: [devel] FreePascal 2.0.2
  2006-04-28 21:50 [devel] FreePascal 2.0.2 Alexey Tourbin
@ 2006-05-02  7:55 ` Fr. Br. George
  2006-05-02  9:12   ` Alexey Tourbin
  0 siblings, 1 reply; 3+ messages in thread
From: Fr. Br. George @ 2006-05-02  7:55 UTC (permalink / raw)
  To: ALT Devel discussion list

On Sat, Apr 29, 2006 at 01:50:15AM +0400, Alexey Tourbin wrote:
> Я собрал fpc-2.0.2.  Пока только для %ix86.  Есть проблема с
> bootstrap'ом.  У него в BuildRequires прописано fpc.  Но пакет fpc-1.0
> был пермещен в orphaned, а fpc-2.0.0 есть только в daedalus.
У тебя все примеры собираются? А то я вот тоже собрал, а оно не
работает:
george@arnor:~/src/fpc-ex> make
/usr/bin/ppc386 -Fu/usr/lib/fpc/2.0.2/units/i386-linux/rtl
-Fu/usr/lib/fpc/2.0.2/units/i386-linux/fv -FE. -FUunits/i386-linux
-di386 tfileio.pas
Free Pascal Compiler version 2.0.2 [2006/05/01] for i386
Copyright (c) 1993-2005 by Florian Klaempfl
Target OS: Linux for i386
Compiling tfileio.pas
Fatal: Can't find unit FileIO
Fatal: Compilation aborted
make: *** [tfileio] Error 1
george@arnor:~/src/fpc-ex> fpcmake 
Processing Makefile.fpc
Error: Target "linux", package "rtl" not found

-- 
			George V Kouryachy (aka Fr. Br. George)
			mailto:george at altlinux_ru


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

* Re: [devel] FreePascal 2.0.2
  2006-05-02  7:55 ` Fr. Br. George
@ 2006-05-02  9:12   ` Alexey Tourbin
  0 siblings, 0 replies; 3+ messages in thread
From: Alexey Tourbin @ 2006-05-02  9:12 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Tue, May 02, 2006 at 11:55:55AM +0400, Fr. Br. George wrote:
> У тебя все примеры собираются? А то я вот тоже собрал, а оно не
> работает:
> george@arnor:~/src/fpc-ex> make
> /usr/bin/ppc386 -Fu/usr/lib/fpc/2.0.2/units/i386-linux/rtl
> -Fu/usr/lib/fpc/2.0.2/units/i386-linux/fv -FE. -FUunits/i386-linux
> -di386 tfileio.pas
> Free Pascal Compiler version 2.0.2 [2006/05/01] for i386
> Copyright (c) 1993-2005 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling tfileio.pas
> Fatal: Can't find unit FileIO
> Fatal: Compilation aborted
> make: *** [tfileio] Error 1


at@localhost fpc/fv/test 3 $ fpc -Fu/usr/lib/fpc2/units/i386-linux/fv tfileio.pas
Fatal: Can't find unit FileIO
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
at@localhost fpc/fv/test 3 $ cd ../..
at@localhost ~build/fpc 3 $ 
at@localhost ~build/fpc 3 $ find -iname 'fileio*'
at@localhost ~build/fpc 3 $ 

Походу пример outdated.  Примеры я не собирал.

> george@arnor:~/src/fpc-ex> fpcmake 
> Processing Makefile.fpc
> Error: Target "linux", package "rtl" not found

$ fpcmake
Processing Makefile.fpc
 i386-linux requires: rtl,fv
 Writing Makefile
$

Он работает.  Собирает lazarus, но lazarus не работает!!

Для x86_64 тоже забутстрапил, но peephole оптимизатор реализован только
для i386, соответственно выигрыша от x86_64 большого не будет.  Более
того, на x86_64 не работает кросс-компиляция для win32 (потому что
другой внутренний ассемблер).

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

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

end of thread, other threads:[~2006-05-02  9:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-28 21:50 [devel] FreePascal 2.0.2 Alexey Tourbin
2006-05-02  7:55 ` Fr. Br. George
2006-05-02  9:12   ` Alexey Tourbin

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