<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I really don't know how to read the config file.  So, I did a locate on
stdctrls and found this file:
<br>
<br>
/usr/lib64/lazarus/lcl/units/x86_64-linux/stdctrls.o
<br>
<br>
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.
<br>
<br>
# -----------------------
<br>
# Set Filenames and Paths
<br>
# -----------------------
<br>
<br>
# Slashes are also allowed under dos
<br>
<br>
# path to the messagefile, not necessary anymore but can be used to
override
<br>
# the default language
<br>
#-Fr/usr/lib64/fpc/$fpcversion/msg/errore.msg
<br>
#-Fr/usr/lib64/fpc/$fpcversion/msg/errorn.msg
<br>
<br>
# searchpath for includefiles
<br>
#-Fi/pp/inc;/pp/rtl/inc
<br>
<br>
#IFDEF FPCAPACHE_1_3
<br>
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/httpd-1.3/
<br>
#ELSE
<br>
#IFDEF FPCAPACHE_2_0
<br>
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/httpd-2.0
<br>
#ELSE
<br>
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/httpd-2.2
<br>
#ENDIF
<br>
#ENDIF
<br>
<br>
# searchpath for units and other system dependent things
<br>
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget
<br>
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/*
<br>
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/rtl
<br>
#-Fu~<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>fpc/packages/base<span
 class="moz-txt-tag">/</span></i>*<i class="moz-txt-slash"><span
 class="moz-txt-tag">/</span>units<span class="moz-txt-tag">/</span></i>;~<i
 class="moz-txt-slash"><span class="moz-txt-tag">/</span>fpc/fcl/units<span
 class="moz-txt-tag">/</span></i>;~<i class="moz-txt-slash"><span
 class="moz-txt-tag">/</span>fpc/rtl/units<span class="moz-txt-tag">/</span></i>
<br>
<br>
# searchpath for libraries
<br>
#ifdef cpux86_64
<br>
-Fl/usr/lib/gcc/x86_64-redhat-linux/4.3.2
<br>
#endif
<br>
<br>
<br>
#ifdef cpui386
<br>
-Fl/usr/lib/gcc/x86_64-redhat-linux/4.3.2/32
<br>
#endif
<br>
#-Fl/pp/lib
<br>
#-Fl/lib;/usr/lib
<br>
<br>
<br>
# -------------
<br>
# Linking
<br>
# -------------
<br>
<br>
# generate always debugging information for GDB (slows down the
compiling
<br>
# process)
<br>
#      -gc        generate checks for pointers
<br>
#      -gd        use dbx
<br>
#      -gg        use gsym
<br>
#      -gh        use heap trace unit (for memory leak debugging)
<br>
#      -gl        use line info unit to show more info for backtraces
<br>
#      -gv        generates programs tracable with valgrind
<br>
#      -gw        generate dwarf debugging info
<br>
#
<br>
# Enable debuginfo and use the line info unit by default
<br>
#-gl
<br>
<br>
# always pass an option to the linker
<br>
#-k-s
<br>
<br>
# Always strip debuginfo from the executable
<br>
-Xs
<br>
<br>
Graeme Geldenhuys wrote:
<blockquote
 cite="mid:cfcebe780906042353h65da9014u77a65fb02d073629@mail.gmail.com"
 type="cite">
  <pre wrap="">2009/6/5 Terry A. Haimann <a class="moz-txt-link-rfc2396E" href="mailto:terry@haimannonline.com"><terry@haimannonline.com></a>:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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
<a class="moz-txt-link-freetext" href="http://opensoft.homeip.net/fpgui/">http://opensoft.homeip.net/fpgui/</a>

  </pre>
</blockquote>
<br>
</body>
</html>