[Lazarus] 64 bit compiler
Terry A. Haimann
terry at HaimannOnline.com
Sun Jun 7 17:02:03 CEST 2009
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 <terry at haimannonline.com>:
>
>> 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/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090607/fd3a801f/attachment-0004.html>
More information about the Lazarus
mailing list