Page MenuHomeFreeBSD

devel/gprbuild: install into $PREFIX
AbandonedPublic

Authored by saper_saper.info on Feb 27 2026, 3:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 15, 6:49 PM
Unknown Object (File)
Tue, Sep 15, 5:19 PM
Unknown Object (File)
Tue, Sep 15, 12:40 PM
Unknown Object (File)
Tue, Sep 15, 12:52 AM
Unknown Object (File)
Tue, Sep 15, 12:47 AM
Unknown Object (File)
Mon, Sep 14, 5:16 AM
Unknown Object (File)
Mon, Sep 14, 5:08 AM
Unknown Object (File)
Mon, Sep 14, 5:07 AM
Subscribers
None

Details

Summary

gprbuild is a universal utility not bound
to a particular GNAT version. Let's install
it into $PREFIX so that it can be used to
build code for various compilers without
setting $PATH just to run gprbuild.

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 71088
Build 67971: arc lint + arc unit

Event Timeline

saper_saper.info created this revision.

I'd say this is right for gprbuild but wrong for libgpr. Due to ABI differences we have to stack the libraries under /usr/local/gnat* prefix to make sure they can only compile with the same compiler.

saper_saper.info retitled this revision from devel/gprbuild, devel/libgpr: install into $PREFIX to devel/gprbuild: install into $PREFIX.Feb 28 2026, 1:52 AM

This is wrong. We can have shared gprconfig files but everything else should be installed in a toolchain specific directory /usr/local/gnatXX. We might need to prepare a wrapper similar to javavmwrapper to decide on runtime which toolchain to use, and therefore we could have mulitple instance of gprbuild installed per-toolchain.