I really don't know how to read the config file. So, I did a locate on stdctrls and found this file:

/usr/lib64/lazarus/lcl/units/x86_64-linux/stdctrls.o

The following is a copy of the "Set Filenames and Paths" section of my /etc/fpc.cfg, can anyone tell me whats wrong? This is how rpm set it up.

# -----------------------
# Set Filenames and Paths
# -----------------------

# Slashes are also allowed under dos

# path to the messagefile, not necessary anymore but can be used to override
# the default language
#-Fr/usr/lib64/fpc/$fpcversion/msg/errore.msg
#-Fr/usr/lib64/fpc/$fpcversion/msg/errorn.msg

# searchpath for includefiles
#-Fi/pp/inc;/pp/rtl/inc

#IFDEF FPCAPACHE_1_3
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/httpd-1.3/
#ELSE
#IFDEF FPCAPACHE_2_0
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/httpd-2.0
#ELSE
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/httpd-2.2
#ENDIF
#ENDIF

# searchpath for units and other system dependent things
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/rtl
#-Fu~/fpc/packages/base/*/units/;~/fpc/fcl/units/;~/fpc/rtl/units/

# searchpath for libraries
#ifdef cpux86_64
-Fl/usr/lib/gcc/x86_64-redhat-linux/4.3.2
#endif


#ifdef cpui386
-Fl/usr/lib/gcc/x86_64-redhat-linux/4.3.2/32
#endif
#-Fl/pp/lib
#-Fl/lib;/usr/lib


# -------------
# Linking
# -------------

# generate always debugging information for GDB (slows down the compiling
# process)
#      -gc        generate checks for pointers
#      -gd        use dbx
#      -gg        use gsym
#      -gh        use heap trace unit (for memory leak debugging)
#      -gl        use line info unit to show more info for backtraces
#      -gv        generates programs tracable with valgrind
#      -gw        generate dwarf debugging info
#
# Enable debuginfo and use the line info unit by default
#-gl

# always pass an option to the linker
#-k-s

# Always strip debuginfo from the executable
-Xs

Graeme Geldenhuys wrote:
2009/6/5 Terry A. Haimann <[email protected]>:
I tried downloading the 64 bit compiler and compiling a test program, but
when I try adding a event I get a StdCtrls Unit not found.  I am running
this on FC10 64 bit.

Check your unit paths in your ~/.fpc.cfg or /etc/fpc.cfg file. The
paths are probably wrong.


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to