Forum > General

[SOLVED] Re-Compile Lazarus on FreeBSD

<< < (3/4) > >>

trev:
Am I missing something? This is the GNU binutils:


--- Code: ---$ pkg info binutils
binutils-2.33.1_4,1
Name           : binutils
Version        : 2.33.1_4,1
Installed on   : Thu Nov  5 18:45:29 2020 AEDT
Origin         : devel/binutils
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : devel
Licenses       : GPLv3, LGPL3
Maintainer     : ports@FreeBSD.org
WWW            : https://www.gnu.org/software/binutils/
Comment        : GNU binary tools
Annotations    :
        FreeBSD_version: 1202500
        cpe            : cpe:2.3:a:gnu:binutils:2.33.1:::::freebsd12:x64:4
        flavor         : native
Flat size      : 168MiB
Description    :
The GNU Binutils are a collection of binary tools. The main ones are:

* ld - the GNU linker.
* as - the GNU assembler.

Most of these programs use BFD, the Binary File Descriptor library, to do
low-level manipulation. Many of them also use the opcodes library to assemble
and disassemble machine instructions.

This port may be used as a replacement for the system binutils and support
features from the latest versions of GCC.

For cross-compilation, see the devel/cross-binutils port.

WWW: https://www.gnu.org/software/binutils/
--- End code ---

MarkMLl:

--- Quote from: trev on December 28, 2020, 11:50:42 am ---Am I missing something? This is the GNU binutils:

--- End quote ---

You said "no need to install Binutils". I was emphasising that- certainly on Solaris- there were /two/ binutils: the native Solaris ones and the GNU ones (Oracle pulled the rug from under the maintainer of those as soon as they took over).

You agreed that it was important to check (g)make. Experience suggests that some of the other utilities might be problems, e.g. tar.

Is BFD use universal these days? I tend to get confused between that and Gold.

MarkMLl

PascalDragon:

--- Quote from: MarkMLl on December 28, 2020, 12:11:52 pm ---Is BFD use universal these days? I tend to get confused between that and Gold.

--- End quote ---

BFD is the default linker from the beginning. Gold is the new one that's not fully supported by FPC.

marcov:

--- Quote from: PascalDragon on December 28, 2020, 12:42:36 pm ---
--- Quote from: MarkMLl on December 28, 2020, 12:11:52 pm ---Is BFD use universal these days? I tend to get confused between that and Gold.

--- End quote ---

BFD is the default linker from the beginning. Gold is the new one that's not fully supported by FPC.

--- End quote ---

On FreeBSD LLVM is default nowadays.

photor-laz:
So, I did some things in between:

gmake was not installed; binutils were. So, I installed gmake package.

To get a new clear start I moved away .lazarus directory. Now starting Lazarus comes with "Welcome to Lazarus IDE 2.0.10"-dialog that cpmplaines about missing FPC sources (the other entries are found and seem to be correct: make is set to "gmake").

The fpc sources are installed in version 3.2.0. The dialog is looking for rtl-directory, right? That can be found under /usr/local/lib/fpc/3.2.0/units/X86_64-freebsd/rtl. But specifying this (by hand or using browse.button) does not help - still get "Error: directory rtl not found".

One additional information that might be interesting: directly after FreeBSD was installed the package repo was quarterly. As lazarus version was not the latest version (as under Linux) I changed to latest and updated. But maybe something is left over.

Ciao,
Photor

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version