Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!mailrus!rutgers!rochester!pt.cs.cmu.edu!f.gp.cs.cmu.edu!dac From: dac@f.gp.cs.cmu.edu (Daniel Christian) Newsgroups: gnu.gcc.bug Subject: Re: A smart linker proposal and fpp question Keywords: RTL, headers, inline Message-ID: <3969@pt.cs.cmu.edu> Date: 5 Jan 89 17:49:28 GMT References: <323@cstw01.UUCP> Organization: Carnegie-Mellon University, CS/RI Lines: 23 Is it possible to create "libraries" of inline functions? On the same note, could you also precompile header files? It seems like both of these would require the compiler to load in some sort of RTL file at compile time. It would then incorporate the code, optimize, and produce perfectly normal object files. I have been working with X11 server development. Many of the server files pull in 4000 lines of headers (with lots of machine dependent conditionals) before they get to your code. Precompiled headers would be wonderful here. It would also make lots of sense for math libraries and the like to be pulled inline. Currently, you would have to include all the sources before the compiler could inline things. If you had RTL math libraries, the compiler could inline the "pre-compiled" functions quickly. Just a thought, -Dan Christian dac@ri.cmu.edu --