From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f33d1329a570d17b,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-23 19:49:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!oleane.net!oleane!freenix!enst.fr!not-for-mail From: sk Newsgroups: comp.lang.ada Subject: Re: Ada and LFS (was : error building gcc 3.2.1) Date: Sun, 23 Feb 2003 21:54:19 -0600 Organization: ENST, France Message-ID: References: <3E3AEF65.6000004@noname.com> Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1046058544 37799 137.194.161.2 (24 Feb 2003 03:49:04 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 24 Feb 2003 03:49:04 +0000 (UTC) To: "comp.lang.ada mail to news gateway" Return-Path: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020828 X-Accept-Language: en-us, en X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:34495 Date: 2003-02-23T21:54:19-06:00 Hi, arbeizaf@ono.com : > Well, it is the option chosen by the blfs book. But I have decided to > choose the option a. I have finally got back to chapter five of LFS and have had nothing but problems trying to get gcc-3.2 (LFS-4.0) to bootstrap with Ada enabled. Anybody have any hints on how to bootstrap a gcc-3.2 with Ada enabled ? I have tried with Gnat 3.13p, 3.14p and 3.15p and whenever the Ada compilation occurrs, I get the following make[3]: Entering directory `/mnt/lfs/build/build/gcc-build/gcc/ada' gnatgcc -c -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -W -Wall -gnatpg -gnata -I- -I. -I../../../gcc-3.2/gcc/ada ../../../gcc-3.2/gcc/ada/ada.ads fatal error: system.ads is incorrectly formatted missing line for parameter: Backend_Divide_Checks fatal error: system.ads is incorrectly formatted missing line for parameter: Backend_Overflow_Checks fatal error: system.ads is incorrectly formatted missing line for parameter: Fractional_Fixed_Ops From a delve through the gcc-3.2 Ada sources, the "system.ads" file does not contain theses variables but my host "system.ads" (installed with the binary Gnat distributions) does. It seems as if the gnat gcc somehow refers to its "own" system.ads when trying to compile the system.ads provided with gcc-3.2. -- Running Linux 2.4.18 kernel, gnat 3.[13p,14p,15p] all available Running gcc 3.0.4 Mandrake (or 2.8.1 if I allow the GNAT path to take precedence) Building gcc-3.2 (gcc-3.2.1 contains the same "system.ads" as the gcc-3.2, "$Revision: 1.1.16.1 $") with "--languages=c,ada" Symbolic link "gnatgcc" to "/usr/gnat/bin/gcc" (dependening on which gnat is being used) so that the gcc make detects Ada ability. (and also "/usr/gnat" is a symbolic-link to either "/usr/Gnat-3.13p" or "/usr/Gnat-3.14p" or "/usr/Gnat-3.15p". Does "/usr/gnat" being a link have any side-effects ?). Thanks in advance for any tips. -- -- -- Merge vertically for real address -- ------------------------------------ -- s n p @ t . o -- k i e k c c m ------------------------------------