Re: recompile darwin with different flags
Shantonu Sen <[email protected]> Wed, 23 Nov 2005 07:33:50 -0800
| Newsgroups | gmane.os.opendarwin.general |
|---|---|
| Message-ID | <[email protected]> |
Not all of 10.4.3 will compile with gcc 4.0, so you may have to make some modifications above and beyond what has been done so far working towards an OpenDarwin release. Shantonu On Nov 23, 2005, at 3:20 AM, Markus Hitter wrote: > > Am 23.11.2005 um 10:22 schrieb Andrea Mannori: > >> I have a mystical crisis, and i want to recomplie darwin, but with >> a more aggressive optimization flags. >> [...] >> what i need is some hint on what files change and how. > > If there'd be a simple flag or known patches to get noteworty > better performance, you can be sure Apple would have used them. > > Nevertheless, you can work on this. Set up darwinbuild to allow you > building a whole system. According to <http:// > release.opendarwin.org>, there are only few parts left and it > should be possible to get a not fully complete, but working system. > > Install your self-built Darwin onto a spare partition and boot it. > > Then start tweaking things. I'd start with setting gcc flags in > various parts, e.g. the kernel. Reinstall your evoluted system and > compare performance. Some timing scripts will help you. > > A switch to gcc-4 should give you quite some performance. No idea > how much work this would be ... just try it. You know, you can't > mix gcc-3.3 libraries with gcc-4 binaries, so this is a all-or- > nothing switch. > > Most important is to publish some notes here or on a website. > Others will want to learn from your experiences. > > >> and sorry for bad english > > Which english? > > > Markus > > - - - - - - - - - - - - - - - - - - - > Dipl. Ing. Markus Hitter > http://www.jump-ing.de/ > > > > > _______________________________________________ > Discuss mailing list > [email protected] > http://www.opendarwin.org/mailman/listinfo/discuss