Lazarus

Programming => Operating Systems => Linux PDAs => Topic started by: assembly84 on February 23, 2014, 12:48:55 am

Title: C:/development/cross/bin/arm-linux/arm-linux-ld.exe: cannot open linker script f
Post by: assembly84 on February 23, 2014, 12:48:55 am
 ;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 ...  :'(
Title: Re: C:/development/cross/bin/arm-linux/arm-linux-ld.exe: cannot open linker script f
Post by: BigChimp on February 23, 2014, 11:49:23 am
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.