[fpc-devel] fpc on arm-linux-uclibc and OABI

Nataraj S Narayan natarajsn at gmail.com
Sat Feb 27 15:14:20 CET 2010


I untar  the units/arm-linux   to /usr/local/lib/fpc/2.5.1/units/arm-linux/.

compiled using -vu; log shows

(FPIMAGE)  PPU Name:
/usr/local/lib/fpc/2.5.1/units/arm-linux/fcl-image/fpimage.ppu
(FPIMAGE)  PPU Time: 2010/02/08 12:27:24
.
.
.
.


My ~/.fpc.cfs has :-

-XParm-linux-
-Xd
-CfSOFT

-Fl/cdrom/output/build/staging_dir/usr/bin
-Fl/cdrom/output/build/staging_dir/usr/arm-linux-uclibcgnueabi/lib
-Fl/cdrom/output/build/staging_dir/lib
-FD/cdrom/output/build/staging_dir/usr/bin
-FL/cdrom/output/build/staging_dir/lib/ld-uClibc.so.0
-FL/usr/local/lib/libqt4intf.so
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/fcl-db/
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/fcl-xml
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/fcl
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/rtl
-Fu/software/lazarus-svn/lcl/units/arm-linux
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/fcl-base
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/fcl-image
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/paszlib
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/hash
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/pasjpeg
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/fcl-process
-Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/x11
-Fu/software/lazarus-svn/lcl/widgetset/
-Fu/software/lazarus-svn/lcl/
-Fi/software/lazarus-svn/lcl/include/

#IFDEF armlclqt
-Fu/software/lazarus-svn/lcl/units/arm-linux/qt
-Fu/software/lazarus-svn/lcl/interfaces/qt


#ENDIF
#ENDIF

regards

Nataraj


On Sat, Feb 27, 2010 at 7:29 PM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
> On 27 Feb 2010, at 14:47, Nataraj S Narayan wrote:
>
>> #make distclean crosszipinstall CPU_TARGET=arm CROSSOPT='-CfSOFT -darm
>> -dFPC-ARMEL -gl'
>
> zipinstall creates a tar file. Did you also unpack its contents afterwards and point the compiler to those unpacked units?
>
>> I am following the procedures listed in http://www.klc.net.nz/linux/?page_id=13
>
> The gdb error proves that you are using an RTL that has been compiled for OABI. Use the -vu parameter to figure out where the compiler is getting its units from while compiling your program, and verify that this is indeed where you installed them.
>
>
> Jonas_______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>



More information about the fpc-devel mailing list