[lazarus] Simple HelloWorld
Payne Thomas E CNIN
payne_t at crane.navy.mil
Thu Jul 15 15:54:46 EDT 1999
Anyone else having problems with hello_world?
I deleted my /etc/ppc386.cfg. I can still rebuild the compiler, fcl, gtk,
and lazarus without it.
I noticed that the makefile for hello_world looks for units in
../units/linux??? So I created a symbolic link to my
/usr/lib/fpc/0.99.13/units in /usr/src/fpc0.99.11 (which is my source dir)
(sorry I am not using the linux HOWTO, after initially getting it to work,
did not to disturb it). I tried to manually insert the -Fu directories that
ppc386 was complaining about, but then it finally gave me an internal error
1234124???
[root at a202-073 fpc-0.99.11]# cd hello
[root at a202-073 hello]# make
ppc386 -Tlinux -Fu../rtl/linux -Fu../units/linux -Fu../fcl/linux
-Fu../rtl/linux -Fu../gtk -Fu../lazarus
-Fl/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -Fl/usr/X11R6/lib
-Fl/usr/lib -Fl/usr/i486-linux-libc5/lib -FE. -di386 hello_world.pp
syslinux.pp(34,2) Fatal: Can't open include file systemh.inc
make: *** [hello_world] Error 1
[root at a202-073 hello]# cd ..
[root at a202-073 fpc-0.99.11]# make fpc_info
== Configuration info ==
FPCDir....
FPCMake... makefile.fpc
Version... 0.99.13
CPU....... i386
Source.... linux
Target.... linux
== Object info ==
LoaderObjects.
UnitObjects...
ExeObjects....
ExtraUnits....
== Tools info ==
Pwd....... /bin/pwd
Echo...... @/bin/echo
Sed....... /bin/sed
Date...... /bin/date
Diff...... /usr/bin/diff
Cmp....... /usr/bin/cmp
Zip....... /usr/bin/zip -D9 -r
== Install info ==
DateStr.............. 19990715
PackageSuffix........ linux
BaseInstallDir....... /usr/lib/fpc/0.99.13
BinInstallDir........ /usr/bin
UnitInstallDir....... /usr/lib/fpc/0.99.13/units/linux
StaticUnitInstallDir. /usr/lib/fpc/0.99.13/units/linux/static
SharedUnitInstallDir. /usr/lib/fpc/0.99.13/units/linux/shared
LibInstallDir........ /usr/lib/fpc/0.99.13
StaticLibInstallDir.. /usr/lib/fpc/0.99.13/units/linux/static
SharedLibInstallDir.. /usr/lib
MsgInstallDir........ /usr/lib/fpc/0.99.13/msg
DocInstallDir........ /usr/doc/fpc/0.99.13
== Directory info ==
Basedir......... /usr/src/fpc-0.99.11
GCC library..... /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66
Other library... /usr/X11R6/lib /usr/lib /usr/i486-linux-libc5/lib
[root at a202-073 fpc-0.99.11]#
Tom
(I was going to learn something about GTK today but win32 and hello_world
has consumed me)
More information about the Lazarus
mailing list