Author Topic: C:/development/cross/bin/arm-linux/arm-linux-ld.exe: cannot open linker script f  (Read 9713 times)


  • New Member
  • *
  • Posts: 31
  • Just Programmer

I try to write simple coding to crosscoding in i386-win32 to arm-linux.
i have update from fcpupgui.exe from

but always build --> got error this : 
Using util C:/development/cross/bin/arm-linux/arm-linux-ld.exe
Executing "C:/development/cross/bin/arm-linux/arm-linux-ld.exe" with command line "  -s -Tlinux -Parm --dynamic-linker=/lib/ --rpath-link C:/development/fpc/lib/arm-linux/rtl/  --gc-sections  -L. -o E:\CODING\LAZARUS\ASSEMBLE\2014\p201402\cross1\lib\arm-linux\cross210 -T E:\CODING\LAZARUS\ASSEMBLE\2014\p201402\cross1\lib\arm-linux\link.res"
cross210.lpr(22) Error: Error while linking
cross210.lpr(22) Fatal: There were 1 errors compiling module, stopping


from fpc.cfg  script,  which library path  to set ?

# Inserted by fpcup 2/22/2014 22:57:31



-FDC:\development\fpc\bin\arm-linux\; c:\development\cross\bin\arm-linux-gnueahbihf\
-FlC:\development\fpc\lib\arm-linux\; c:\development\cross\lib\arm-linux\; c:\development\cross\lib\arm-linux-gnueahbihf\;


; -XParm-linux-uclibc-
; -XP~/lazarus/fpc/binutils/
; -Xr~/lazarus/fpc/2.5.1/lib/fpc/2.5.1/units/$fpctarget/rtl/
; -XR~/lazarus/fpc/

; -darm
; -Tlinux
; -XParm-linux-



# -Xr/usr/lib


Please Help me ...  :'(
try to be better


  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Please post fpcup specific questions in the fpcup thread in third party announcement subforum.
Please make sure you have followed the troubleshooting steps before posting (see the fpcup wiki page) and post all relevant info (fpcup version, operating system, which binutils you used etc).

Want quicker answers to your questions? Read

Open source including papertiger OCR/PDF scanning:

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


TinyPortal © 2005-2018