Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 09-17-2009, 11:19 AM   #1
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
CLFS x86_64 gnat...

How does one install the gcc gnat compiler that can compile both 32bit and 64 bit code??
Old 09-18-2009, 08:44 PM   #2
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
GNAT ("GNU NYU Ada Translator") is the Ada extension to the GNU Compiler Collection. Do you wish to compile Ada code into both 32-bit and 64-bit flavors? Who's been talking about GNAT?

Here is a bit of information about using GCC to cross compile (I do not know for which languages other than C, if any, this applies, however.)
Old 09-19-2009, 01:51 PM   #3
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Original Poster
Rep: Reputation: 34
Well when trying to compile gnat for clfs it always errors, even if patching gcc, it has something to do witht he paths, it doesnt know what to do when there are more then 1 set of libs, slackware's alien bob has gotten it to work, but his method is not really compatible with clfs because slackware already has a working gnat compiler, since CLFS doesn not, you have to build one, and thats what i am having trouble with, gcc gnat will not behave and compile with anything other then ada cores version of gnat dating back to 2005, the problem lies with not having a 64 bit version of ada... since the other version of adacores compiler do not work I have no idea how to do this.

I was thinking about compiling LFS 32bit with adacores gcc then since I have a working gcc gnat compiler I am hoping I can cross compile that to 64bits and hope it compiles, any other ideas on how I could go about this?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ipm timed out error on Red Hat 2.6.9-67.0.22.ELsmp #1 SMP x86_64 x86_64 x86_64 GNU/L bellnarm Linux - Newbie 0 07-07-2009 05:36 PM
CLFS SVN-20080921-x86_64-Multilib Part 10 binutils chokes on install ChrisMP1 Linux From Scratch 0 09-23-2008 09:11 PM
chown clfs:clfs mishap Louis_Carole Linux From Scratch 4 03-21-2007 08:40 PM
Where has GNAT (Ada 95) compiler gone? sorvad Linux - Desktop 1 11-17-2006 05:47 AM
How do I use GRUB with x86_64 CLFS? fatsheep Linux From Scratch 2 10-18-2006 12:58 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration