[fpc-devel] 2.2.2rc1 can't find the system unit

ik idokan at gmail.com
Thu Jun 19 09:21:56 CEST 2008


Hello,

It seems that 2.2.2.rc1 ignores the settings of fpc.cfg, and can not
find the system unit.

On /etc/fpc.cfg these are the settings:

-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/*
-Fu/usr/lib64/fpc/$fpcversion/units/$fpctarget/rtl


However fpc output is as follows:

ppcx64 -gh -vut test2.pp
Configfile search: /home/ik/.fpc.cfg
Configfile search: /usr/lib64/fpc/etc/fpc.cfg
Configfile search: /etc/fpc.cfg
Reading options from file /etc/fpc.cfg
Path "/usr/lib64/fpc/2.2.2/units/x86_64-linux/httpd-2.2/" not found
Path "/usr/lib64/fpc/2.2.2/units/x86_64-linux/" not found
Path "/usr/lib64/fpc/2.2.2/units/x86_64-linux/*/" not found
Path "/usr/lib64/fpc/2.2.2/units/x86_64-linux/rtl/" not found
Free Pascal Compiler version 2.2.2rc1 [2008/06/10] for x86_64
Copyright (c) 1993-2008 by Florian Klaempfl
Path "/usr/lib/fpc/2.2.2/units/x86_64-linux/rtl/" not found
Searching file /lib/ld-uClibc.so.0... not found
Searching file /lib64/ld-linux-x86-64.so.2... found
Path "/usr/X11R6/lib64/" not found
Compiler: /usr/lib64/fpc/2.2.2rc1/ppcx64
Target OS: Linux for x86-64
Using executable path: /usr/lib64/fpc/2.2.2rc1/
Using unit path: /usr/lib64/fpc/2.2.2rc1/
Using library path: /lib64/
Using library path: /usr/lib64/
Using library path: /usr/lib/gcc/x86_64-manbo-linux-gnu/4.2.3/
Using library path: /usr/lib64/fpc/2.2.2rc1/
Using object path: /usr/lib64/fpc/2.2.2rc1/
Compiling test2.pp
Searching file test2.pp... found
(TEST2)    Registering new unit SYSTEM
(TEST2)    Load from TEST2 (implementation) unit SYSTEM
(SYSTEM)   Loading unit SYSTEM
Unitsearch: system.ppu
Searching file system.ppu... not found
Searching file SYSTEM.PPU... not found
Unitsearch: system.pp
Searching file system.pp... not found
Searching file SYSTEM.PP... not found
Unitsearch: system.pas
Searching file system.pas... not found
Searching file SYSTEM.PAS... not found
Unitsearch: /usr/lib64/fpc/2.2.2rc1/system.ppu
Searching file /usr/lib64/fpc/2.2.2rc1/system.ppu... not found
Searching file /usr/lib64/fpc/2.2.2rc1/SYSTEM.PPU... not found
Unitsearch: /usr/lib64/fpc/2.2.2rc1/system.pp
Searching file /usr/lib64/fpc/2.2.2rc1/system.pp... not found
Searching file /usr/lib64/fpc/2.2.2rc1/SYSTEM.PP... not found
Unitsearch: /usr/lib64/fpc/2.2.2rc1/system.pas
Searching file /usr/lib64/fpc/2.2.2rc1/system.pas... not found
Searching file /usr/lib64/fpc/2.2.2rc1/SYSTEM.PAS... not found
Unitsearch: system.pp
Searching file system.pp... not found
Searching file SYSTEM.PP... not found
Unitsearch: system.pas
Searching file system.pas... not found
Searching file SYSTEM.PAS... not found
Unitsearch: /usr/lib64/fpc/2.2.2rc1/system.pp
Searching file /usr/lib64/fpc/2.2.2rc1/system.pp... not found
Searching file /usr/lib64/fpc/2.2.2rc1/SYSTEM.PP... not found
Unitsearch: /usr/lib64/fpc/2.2.2rc1/system.pas
Searching file /usr/lib64/fpc/2.2.2rc1/system.pas... not found
Searching file /usr/lib64/fpc/2.2.2rc1/SYSTEM.PAS... not found
Fatal: Can't find unit system used by test2
Fatal: Compilation aborted


Am I missing something, or should I report it as a bug ?

Thanks,
Ido
-- 
http://ik.homelinux.org/



More information about the fpc-devel mailing list