Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bootstrap 32 bit Ada compiler from 64 bit
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 934
Location: Queensland

PostPosted: Tue Mar 06, 2018 10:49 pm    Post subject: bootstrap 32 bit Ada compiler from 64 bit Reply with quote

The Ada project page indicates that the compiler must be bootstrapped. For 64 bit builds, this is by downloading the binary from libre.adacore.com. However, there is no pre-built 32 bit binary. Is it possible to build a 32 bit compiler in the 64 bit environment, for bootstrapping, and if so, how?
_________________
Michael Mounteney
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Tue Mar 06, 2018 11:19 pm    Post subject: Reply with quote

mounty1,

This overlay looks promising.
It mentions
Quote:
I have tested x86 and amd64 chroot's


... but it stops at gcc-5.4 so its not all plain sailing.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 934
Location: Queensland

PostPosted: Wed Mar 07, 2018 12:33 am    Post subject: Reply with quote

NeddySeagoon wrote:
... but it stops at gcc-5.4 so its not all plain sailing.
That's pretty rough sailing Neddy because for the new PIC 17.0 profiles you need at least gcc-6.3.0. Regrettably, Ada is somewhat neglected. Thanks for the answer though.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
tupone
n00b
n00b


Joined: 04 Jul 2008
Posts: 15

PostPosted: Tue Feb 19, 2019 7:19 am    Post subject: Reply with quote

I added x86 (32 bits) a while ago to the gnat-gpl ebuild.
Non need to download anything from adacore by hand.
The ebuild will do it for you.

I have tested it some months ago. If you find something wrong just raise a bug request
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum