Recent

Author Topic: ./fpcup_linux_x86 --inifile=settings.ini --verbose --inisection=linuxarm ? Error  (Read 4642 times)

assembly84

  • New Member
  • *
  • Posts: 31
  • Just Programmer
    • assembly84.net
fpcup_linux_x86 got error message while I try to crosscompiling from i386-linux (ubuntu 12.04) to arm-linux
Code: [Select]

Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
fpcup: info: TFPCInstaller: building module FPC...
fpcup: info: Any_Linuxarm: searched but did not find binutil arm-linux-as in directory /home/tonie/development/fpc/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil arm-linux-as in directory /home/tonie/development/cross/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil arm-linux-as in directory /home/tonie/development/fpc/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil arm-linux-as in directory /home/tonie/development/cross/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil as in directory /home/tonie/development/fpc/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil as in directory /home/tonie/development/cross/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil arm-linux-androideabi-as in directory /home/tonie/development/fpc/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil arm-linux-androideabi-as in directory /home/tonie/development/cross/bin/arm-linux
fpcup: info: Any_Linuxarm: failed: searched binutil arm-linux-androideabi-as without results.
fpcup: ERROR: Failed to get crossbinutils
fpcup: ERROR: Error running BuildModuleCustom for module FPC
fpcup: info: Error running fpcup. Technical details: error executing sequence FPCBuildOnly; line: 2, param: FPC
fpcup: info: Error running fpcup. Technical details: error executing sequence Only; line: 2, param: FPCBuildOnly
FPCUp failed.

which configuration on files: settings.ini [linuxarm] that's wrong ?

Code: [Select]
[linuxarm]

fpcdir=/home/tonie/development/fpc
fpcurl=http://svn.freepascal.org/svn/fpc/trunk
lazdir=/home/tonie/development/lazarus
primary-config-path=/home/tonie/development/config_lazarus
 
lazlinkname=""
fpcuplinkname=""
fpcopt=""

; binutilsdir=/home/tonie/development/fpcbootstrap
fpcbootstrapdir=/home/tonie/development/fpcbootstrap

noconfirm=true
keeplocalchanges=true
cputarget=arm

; if using armhf, you MUST specify -dFPC_ARMHF in the FPC options;
; specifying in crossopt is not enough2.7.x;

fpcopt="-dFPC_ARMHF"

; safe default but slow:
; crossopt="-CpARMV6 -CaEABI -CfSOFT"

; Raspbian for Raspberry Pi safe
; ARMv6 instruction set
; if using arm hf (hard float/floating point), please specify -dFPC_ARMHF

; copy over /lib, /usr/lib, /usr/lib/arm-linux-gnueabihf (Raspbian) => note: some .so files are actually scripts;

; check grep -i "ld script" *
; Remove those .so and copy over (or symlink) the .so.x to .so in order for the linker to find them
; Examples:
; libpthread.so
; libc.so
; libgcc_s.so
; to cross lib dir (try compiling and keep copying until no errors left)
; Note: -CpARMV6Z parameter not supported on 2.6.x, only on 2.7.x
; Note: -CaEABIHF parameter not supported on 2.6.x, only on 2.7.x
; Note: don't use -fPIC; will give segmentation fault


; crossopt="-CpARMV6 -CfVFPV2"

crossopt="-CpARMV6 -CaEABI -CfVFPV2 -dFPC_ARMHF"

; beagleboard black with hardfloat:
; if using armhf, also specify -dFPC_ARMHF (in fpcopt) to avoid gtk scrollbar errors
; Note: -CaEABIHF not supported on 2.6.x, only on 2.7.x
; crossopt="-Cparmv7 -CfVFPv3"
ostarget=linux
; we only need to do Lazarus as FPC won't change here

only=FPCCleanOnly,FPCBuildOnly
skip=FPCGetOnly,lazbuild,bigide,useride


thanks for the supports ...  :D
try to be better

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Please post your questions in the fpcup thread next time - thanks.

See my response in the fpcup thread:
http://forum.lazarus.freepascal.org/index.php/topic,23075.msg142405.html#msg142405
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

assembly84

  • New Member
  • *
  • Posts: 31
  • Just Programmer
    • assembly84.net
Bigchimp, i've changet path from settings.ini
but still doesn't have any change ..
directory development/cross has i'd change to development/cross__
but configuration still read here : development/cross

i changet fpcup --> settings.ini from /home

Code: [Select]
fpcdir=/home/user/development/fpc
fpcurl=http://svn.freepascal.org/svn/fpc/trunk
lazdir=/home/tonie/development/lazarus
primary-config-path=/home/tonie/development/config_lazarus


; No need for any new shortcuts:
fpcuplinkname=""
lazlinkname=""
binutilsdir=/usr/arm-linux-gnueabihf/lib/
fpcbootstrapdir=/home/tonie/development/fpcbootstrap

I'd wonder if is that's correct path for settings.ini ? because result still
not found like this below ?

Code: [Select]
Written by John Gilmore and Jay Fenlason.
fpcup: info: TFPCInstaller: building module FPC...
fpcup: info: Any_Linuxarm: searched but did not find binutil arm-linux-as in directory /home/tonie/development/fpc/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil arm-linux-as in directory /home/tonie/development/cross/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil arm-linux-as in directory /home/tonie/development/fpc/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil arm-linux-as in directory /home/tonie/development/cross/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil as in directory /home/tonie/development/fpc/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil as in directory /home/tonie/development/cross/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil arm-linux-androideabi-as in directory /home/tonie/development/fpc/bin/arm-linux
fpcup: info: Any_Linuxarm: searched but did not find binutil arm-linux-androideabi-as in directory /home/tonie/development/cross/bin/arm-linux
fpcup: info: Any_Linuxarm: failed: searched binutil arm-linux-androideabi-as without results.
fpcup: ERROR: Failed to get crossbinutils
fpcup: ERROR: Error running BuildModuleCustom for module FPC
fpcup: info: Error running fpcup. Technical details: error executing sequence FPCBuildOnly; line: 2, param: FPC
fpcup: info: Error running fpcup. Technical details: error executing sequence Only; line: 2, param: FPCBuildOnly
FPCUp failed.

thanks for your kindness helping me.  ;)
try to be better

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

 

TinyPortal © 2005-2018