From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40890 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: MetaPost 1.004 announcement Date: Sun, 04 May 2008 10:38:25 +0200 Message-ID: <481D7601.9000703@elvenkind.com> References: <48198C57.4000304@elvenkind.com> <38CDD53B-7378-4822-AC01-998C0DF2B595@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209890413 21962 80.91.229.12 (4 May 2008 08:40:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 May 2008 08:40:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 04 10:40:45 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JsZlo-0008FP-B1 for gctc-ntg-context-518@m.gmane.org; Sun, 04 May 2008 10:40:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9A9801FC72; Sun, 4 May 2008 10:39:48 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22140-04-4; Sun, 4 May 2008 10:38:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1A50A1FC27; Sun, 4 May 2008 10:38:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE2F01FBFD for ; Sun, 4 May 2008 10:38:57 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23377-03-2 for ; Sun, 4 May 2008 10:38:25 +0200 (CEST) Original-Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by ronja.ntg.nl (Postfix) with ESMTP id 5FF631FC27 for ; Sun, 4 May 2008 10:38:25 +0200 (CEST) Original-Received: from [10.10.0.6] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id m448cOrH044923 for ; Sun, 4 May 2008 10:38:25 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 1.5.0.10 (X11/20070305) In-Reply-To: <38CDD53B-7378-4822-AC01-998C0DF2B595@uni-bonn.de> X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40890 Archived-At: Thomas A. Schmitz wrote: > > I have two questions/problems with the new release: > > 1. for my linux box, I just grabbed the linux tarball, but the > binaries in there still declare they're version 1.003. Is that an > oversight, or are those indeed old binaries (and you forgot to pack > the new ones? :-) Answered by Peter and Luigi. I 've fixed the repository versions of texmfmp.c, and will probably update the tarballs tomorrow (I also have to add that mpboxes.pdf) > 2. On OS X 10.5 (intel), compilation aborts with this message: This is the same problem Hans van der Meer ran into with MPlib a while back. Somehow configure fails to notice that OS X 10.5 has standard C headers just like any other Unix. If you look at the configure output, it will say somewhere in the middle: checking for ANSI C header files... no The build error is a result of that. Hans van der Meer came up with the following answer (but I have *no* idea how to implement): > Eureka! I think I found it (took a lot of experimentation). > > Playing with the optimizing options through CFLAGS and setting the > architecture to the G4 status of my Mac Powerbook, miraculously > Metafont1.002 did compile under MacOSX10.5. Experimentally I then > established that the architecture should be specified on the gcc call > in order to have the proper ANSI headers found; without these > compilation will get stuck. > > The options that I think relevant are (both CFLAGS and CXXFLAGS > should be set): > > 1. general architecture specification: CFLAGS -arch ppc (for > powerpc) CFLAGS -arch ppc64 (for the new 64bit binaries on > powerpc) CFLAGS -arch i386 (for intel) I did not check the ppc64 > (not needed) and i386 (not having one) options. > > 2. more specific architecture specification affecting instruction set > and scheduling if one wants to tune the generated code to ones > processor: CFLAGS -mcpu=G4 (-mcpu=G5 etc. whichever ones machine has) > > > It would be most natural, I think, if the -arch switch is added > standard through the autoconf scripts. Taco could see to that for > metapost and luatex, I trust. Can someone mail this experience to the > maintainers of pdftex? (I could not ascertain why pdftex compiles > without problems). > > Hans van der Meer Best wishes, Taco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________