Newsgroups: comp.os.msdos.djgpp,gnu.gcc.help Date: Wed, 27 Aug 1997 11:22:24 +0200 (MET DST) From: Ivo Janssen To: Eli Zaretskii cc: djgpp AT delorie DOT com Subject: Re: Documentation on the "specs" file In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 27 Aug 1997, Eli Zaretskii wrote: > On Tue, 26 Aug 1997, Ivo Janssen wrote: > > > Anyone knows how to do this, or where to find documentation on the > > "specs" file? It's not in the gcc-info files. > > The syntax of `specs' is not documented in any external docs I know > of. You will have to download the gcc sources (v2gnu/gcc2721s.zip) > and look inside gcc.c. A large comment there explains all the details > of the syntax. Thanks for everyone who responded. I can add that this comment is almost a formal specification of the spec-language, and therefore unreadable. But with the examples (read: default specs for several options, about 100 lines below) I managed to get there. Ivo --------------------+--------------------------------+-+ +---+ | IVO JANSSEN | ivo AT ricardis DOT tudelft DOT nl | | | | | Ricardishof 1/428 | janssen AT cardit DOT et DOT tudelft DOT nl | | |-+ | | 2614 JE Delft | http://www.et.tudelft.nl/~ivo/ | +->-| (|) | the Netherlands | Dept of Electrical Engineering | |-+ | | +31-15-2855973 | Delft University of Technology | | | +-------------------+--------------------------------+ --- ---