Re: [C--] building on mac os x: a bit further
Norman Ramsey <[email protected]> Tue, 24 Mar 2009 23:32:50 -0400
| Newsgroups | gmane.comp.lang.c-- |
|---|---|
| Message-ID | <[email protected]> |
> It turned out that the ./configure was setting the platform to x86-unknown... > now I've added a x86-darwin section anywhere it was needed. > > but (:-) > > There is no need of those .section before .text and .data (reading the > apple doco), where may I tweak the templating system to not include > them? The templates are in src/x86asm.nw. It looks like we'll need to parameterize all that stuff to support both linux and darwin. Not fun. Also, runtime/gcc-linux.nw will need to be replaced with runtime/gcc-darwin.nw. We're hoping to set up a git repo soon (project is currently in CVS) but the next 5 weeks are hell... Norman P.S. mk clean is intended to leave enough derived files in place to allow for a rebuild without noweb. If you truly want to blow away everything you want 'mk clobber' (or possibly 'mk distclean'; I have forgotten). _______________________________________________ Cminusminus mailing list [email protected] https://www.eecs.harvard.edu/mailman/listinfo/cminusminus