Re: Build process
"Thiago Silva" <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.strongtalk |
|---|---|
| Message-ID | <[email protected]> |
On 3/6/07, oe <[email protected]> wrote: > > I don't understand which > problem is solved by makedeps. I thought it was motivated by > shortcomings of the C++ environments in the 1990s, maybe. What I > remember is that makedeps takes the information from the includeDBs > and figures out the right sequence of #include statements; plus, when > a single inclde file is used in more than N source files, it's moved > to the preocompiled header. I'm not quite sure as well. I used to think that to use precompiled headers, there must be only one #include in the beginning of the unit, wich explained the use of makedeps, but that was me wondering. All I know is that there are conditions to be met to use pch. > When I wrote the Perl skript, it turned out that the include DBs where > missing some include depenmdencies; I guess the headers where "just > there" because they where already in the big precompiled include > header "by accident", so nobody noticed the new dependency and updated > the includeDBs. Soo, I lost the plot a bit.. I don't know if > precompiled header that crucial for development. I couldn't tell either. But I noticed that the MinGW compilation (w/o pch) takes substantially more time comparing with the VC++ compilation (with precompiled headers). > One could create a > precompiled header file containing the most used headers, either from > includeDBs or by extracting the information from the source files. Ah, > and IIRC, makedeps doesn't "make deps", but I saw that GCC has an > option to automatically create deps from #include directives (-M). > > Well, after all, makedeps does the job, and there was more interesting > stuff to work on. And Dave Raymer wrote, he also edited the includeDBs > as GCC requires still different includes -- guess I basically wasted > some time ;) > Sounds familiar ;) I have done all sorts of crazy things trying to understand and fix my MinGW build. -- Thiago Silva Email: [email protected] Jabber: [email protected] Blog: http://sourcecraft.info/blog --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Strongtalk-general" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/strongtalk-general?hl=en -~----------~----~----~----~------~----~------~--~---