Recent

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

assembly84

  • New Member
  • *
  • Posts: 31
  • Just Programmer
    • assembly84.net
 ;D

I try to write simple coding to crosscoding in i386-win32 to arm-linux.
i have update from fcpupgui.exe from http://svn.freepascal.org/svn/lazarus/

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/ld-linux-armhf.so.3 --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

-XParm-linux-

-XPC:/development/cross/bin/arm-linux/arm-linux-
-XrC:/development/fpc/lib/$fpctarget/rtl/
-XRC:/development/fpc

-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\;

-darm
-CpARMV6
-CfVFPV2
-TLinux
-Xd

; -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
; -CfSOFT
; -CaEABI
; -Tlinux
; -XParm-linux-

-a
-Sd
-Xd
-Xs
-O-

-FlC:\development\cross\lib\arm-linux\;C:\development\cross\lib\arm-linux-gnueahbihf\;

# -Xr/usr/lib

#ENDIF
#ENDIF


Please Help 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
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).

Thanks.
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