-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gprconfig? #4
Comments
Hi.
Firstly, you have to make the toolchain visible in path. If the toolchain
is installed
in the default location (/opt/sweetada), then:
***@***.***:~# PATH=/opt/sweetada/bin:$PATH gprconfig
--target=aarch64-sweetada-elf
--------------------------------------------------
gprconfig has found the following compilers on your PATH.
Only those matching the target and the selected compilers are displayed.
1. GCC-ASM for Asm in /opt/sweetada/bin/ version 11.3.0
2. GCC-ASM for Asm2 in /opt/sweetada/bin/ version 11.3.0
3. GCC-ASM for Asm_Cpp in /opt/sweetada/bin/ version 11.3.0
4. LD for Bin_Img in /opt/sweetada/bin/ version 2.38
5. GCC for C in /opt/sweetada/bin/ version 11.3.0
Select or unselect the following compiler (or "s" to save):
Tha Ada compiler is not detected though.
Unfortunately gprbuild supports only toolchains in its database by default.
gprconfig is dependent on that, and so could not find the compiler. In
order to allow
gprconfig detecting the compiler, heavy patches are needed I guess.
Being said that, the SweetAda build system creates a gprbuild project file
that
is used for compiling, but it does not cover every aspect of the toolchain
(e.g., linker
specifications).
I'll try to investigate on that, but don't hold your breath.
G
…On Sun, Jul 3, 2022 at 8:35 AM robdaemon ***@***.***> wrote:
Is it possible to use the SweetAda toolchains with gprconfig / gprbuild?
I've been wanting a good AArch64 Ada toolchain for some time - and this
looks like it could work great.
It looks like gprconfig (at least installed on Debian unstable) doesn't
understand it:
***@***.***:~$ gprconfig --target=aarch64-sweetada-elf
No compilers found for target aarch64-sweetada-elf
—
Reply to this email directly, view it on GitHub
<#4>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUA6WLIJSXYYXM3YGS4CDCDVSEYB7ANCNFSM52QGLU5A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to use the SweetAda toolchains with gprconfig / gprbuild?
I've been wanting a good AArch64 Ada toolchain for some time - and this looks like it could work great.
It looks like gprconfig (at least installed on Debian unstable) doesn't understand it:
The text was updated successfully, but these errors were encountered: