Recent

Author Topic: Where does "ld.exe" Belong?[RESOLVED?]  (Read 6523 times)

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Where does "ld.exe" Belong?[RESOLVED?]
« on: September 30, 2011, 02:13:26 am »
Hi,
I am trying to install fpc from source (svn fpcbuild) to TinyCore linux and have hit a snag. All seems well then i get an error "cannot find ld".

Apparently the Tinycore version of GNU Make does not inclide "ld.exe" nor is it in their repository.

I found a version for fpc set up for cross compiling (fpc friendly version) of ld.exe and have placed it ALL OVER in my system yet it still is not found.

Where should I put "ld"?
I tried ...

/fpc/bin
fpc/utils
/usr/bin
etc.

Thanks
« Last Edit: October 01, 2011, 02:22:39 am by CaptBill »

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: Where does "ld.exe" Belong?
« Reply #1 on: September 30, 2011, 02:50:02 am »
Definitely not "ld.exe" but only "ld". It should be in /usr/bin

What happens when you write "ld" to terminal ? Here:
Code: [Select]
[v1@msi-NB ~]$ ld
ld: no input files
[v1@msi-NB ~]$

And do you have any binary fpc installed ?
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Re: Where does "ld.exe" Belong?
« Reply #2 on: September 30, 2011, 02:56:07 am »
Hi Blaazen,

Yeah, I tried just "ld" too just about everywhere including /usr/bin.

I get "ld not found" in terminal.

Could it be a quirk with Tinycore's default permissions possibly?
Because I also get the same "not found" with other exe's, it seems.

And yes I have the binary fpc installed.

TinyCore is SWEET btw.

Thanks
« Last Edit: September 30, 2011, 03:00:26 am by CaptBill »

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Re: Where does "ld.exe" Belong?
« Reply #3 on: September 30, 2011, 03:17:41 am »
If I try "ld.exe" I get "permission denied'

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11444
  • FPC developer.
Re: Where does "ld.exe" Belong?
« Reply #4 on: September 30, 2011, 11:20:54 am »
ld and as should come with the "binutils" package. Try to install it for your distro, or some general "development" package.

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Re: Where does "ld.exe" Belong?
« Reply #5 on: September 30, 2011, 11:53:09 pm »
ld and as should come with the "binutils" package. Try to install it for your distro, or some general "development" package.

Thanks Marcov,
I can install Lazarus and Fpc no problem from the .tar's. Although trying to rebuild lazarus or rebuild packages are the snag.
I think there is something different in how Tinycore works with Make. Or there is a missing dependency that needs to be added. Seems to be an issue even with the FPC extension downloadable from the Tinycore repository "app browser" as well. The Freepascal IDE is not working. Compiler seems fine (fpc2.4.4)

Anyone know how to contact "Arslan S"? He is the extension maintainer.
He just recently updated this .tcz extension to 2.4.4, but there is no email contact listed.
« Last Edit: September 30, 2011, 11:57:41 pm by CaptBill »

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Re: Where does "ld.exe" Belong?
« Reply #6 on: October 01, 2011, 02:19:53 am »
I found the issue, I believe. The fp.cfg directory variables/paths have a missing directory: usr/bin/fpc should be usr/local/bin/fpc.

Unfortunately this is an extracted folder structure handled by the Tinycore .tcz extension system so I cannot modify it (gets untarred and mounted each time from a static file)

I tried to contact "Arslan S" at the freepascal.org forum about it. Just a typo, looks like.

Thanks

 

TinyPortal © 2005-2018