Skip to content

why is gap-install linked with libgap? #5922

Open
@dimpase

Description

In Makefile.rules one has

# build rule for the gap executable used by the `install-bin` target
build/gap-install: libgap$(SHLIB_EXT) cnf/GAP-LDFLAGS cnf/GAP-LIBS cnf/GAP-OBJS build/obj/build/main.c.o
        $(QUIET_LINK)$(LINK) $(GAP_LDFLAGS) build/obj/build/main.c.o $(GAP_LIBS) -L${abs_builddir} -lgap -o $@

endif

Does this mean that gap as installed by make install is using libgap, unlike ./gap produced by make ?

And so, in particular, packages producing GAP kernel extensions might need to be linked to libgap (we observe errors on a recent arm64 macOS to this extent).
@culler

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions