Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-05

GTK 1.2 Port working

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Cliff Baeseman
to Peter Vreman: The GTK version in the CVS is working for gtk 1.2 and gtk 1.0. To compile the gtk sources…

Peter YOU ARE THE MAN!

Ok great I am going to convert lazarus this evening and post it. This will allow us to move things forward and
possibly enllist a little help from our GNOME buddies.....

ThanX again Peter......

Cliff

Peter Vreman wrote 22 lines
The GTK version in the CVS is working for gtk 1.2 and gtk 1.0. To compile the gtk sources you need a compiler snapshot dated after 8-5-99. To compile for gtk 1.2 type: make To compile for gtk 1.0 type: make GTK10=1 There are still some things to do: - test with the win32 port - fix the cdecl and maybe add stdcall for win32 Peter _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Payne Thomas E CNIN

I found fcl.zip at
http://ftp.itep.ru/uscape/blue_and_white/C/p/Top/Programming/Compilers/Pasca l/Free_Pascal/source
I am assuming this is the correct file

The following is the result of a make.

fcl]# ls
Makefile dos go32v2 inc linux os2 template tests win32 fcl]# make
make -C linux all
make[1]: Entering directory `/usr/local/fcl/linux' ppc386 -Tlinux -S2 -Fu/usr/lib/fpc/0.99.11/rtl/linux -Fu/usr/lib/fpc/0.99.11/units/linux -Fi../inc -Fi../i386 -FE. -di386 ../inc/classes.pp
Free Pascal Compiler version 0.99.10 [1998/12/22] for i386 Copyright (c) 1993-98 by Florian Klaempfl
Target OS: Linux for i386
Compiling ../inc/classes.pp
util.inc(5,1) Warning: Function result does not seem to be set util.inc(7,29) Hint: Parameter not used IDENT
bits.inc(108,19) Error: Identifier not found ALLOCMEM bits.inc(110,10) Error: Identifier not found REALLOCMEM bits.inc(110,79) Error: Illegal expression
streams.inc(234,16) Warning: Function result does not seem to be set streams.inc(324,3) Error: Identifier not found FILETRUNCATE streams.inc(324,32) Error: Illegal expression
streams.inc(423,10) Warning: Function result does not seem to be set stringl.inc(237,14) Warning: Function result does not seem to be set classes.pp(69) Fatal: There were 5 errors compiling module, stopping make[1]: *** [classes.ppu] Error 1
make[1]: Leaving directory `/usr/local/fcl/linux'
make: *** [all] Error 2
fcl]#

Where am I going wrong?

Tom

Reply by email

Peter Vreman
to Payne Thomas E CNIN
you wrote 36 lines
I found fcl.zip at http://ftp.itep.ru/uscape/blue_and_white/C/p/Top/Programming/Compilers/Pasca l/Free_Pascal/source I am assuming this is the correct file The following is the result of a make. fcl]# ls Makefile dos go32v2 inc linux os2 template tests win32 fcl]# make make -C linux all make[1]: Entering directory `/usr/local/fcl/linux' ppc386 -Tlinux -S2 -Fu/usr/lib/fpc/0.99.11/rtl/linux -Fu/usr/lib/fpc/0.99.11/units/linux -Fi../inc -Fi../i386 -FE. -di386 ../inc/classes.pp Free Pascal Compiler version 0.99.10 [1998/12/22] for i386 Copyright (c) 1993-98 by Florian Klaempfl Target OS: Linux for i386 Compiling ../inc/classes.pp util.inc(5,1) Warning: Function result does not seem to be set util.inc(7,29) Hint: Parameter not used IDENT bits.inc(108,19) Error: Identifier not found ALLOCMEM bits.inc(110,10) Error: Identifier not found REALLOCMEM bits.inc(110,79) Error: Illegal expression streams.inc(234,16) Warning: Function result does not seem to be set streams.inc(324,3) Error: Identifier not found FILETRUNCATE streams.inc(324,32) Error: Illegal expression streams.inc(423,10) Warning: Function result does not seem to be set stringl.inc(237,14) Warning: Function result does not seem to be set classes.pp(69) Fatal: There were 5 errors compiling module, stopping make[1]: *** [classes.ppu] Error 1 make[1]: Leaving directory `/usr/local/fcl/linux' make: *** [all] Error 2 fcl]# Where am I going wrong?

Get the latest compiler snapshot and the latest FCL source from the Free Pascal web page (see development page)

Reply by email

Peter Vreman
to Peter Vreman

The GTK version in the CVS is working for gtk 1.2 and gtk 1.0. To compile the gtk sources you need a compiler snapshot dated after 8-5-99.

To compile for gtk 1.2 type:

make

To compile for gtk 1.0 type:

make GTK10=1

There are still some things to do:

- test with the win32 port
- fix the cdecl and maybe add stdcall for win32

Peter

Reply by email