From owner-freebsd-current@FreeBSD.ORG Sun Feb 13 01:03:13 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4057E16A4CE; Sun, 13 Feb 2005 01:03:13 +0000 (GMT) Received: from trickle.cc.mcgill.ca (trickle.CC.McGill.CA [132.206.27.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id D464343D31; Sun, 13 Feb 2005 01:03:12 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan2.cc.mcgill.ca (mailscan2.CC.McGill.CA [132.216.77.249])j1D13B0d015193; Sat, 12 Feb 2005 20:03:12 -0500 (EST) Received: from cube.cnd.mcgill.ca (cube.cnd.McGill.CA [132.216.11.165]) j1D12nn3000081; Sat, 12 Feb 2005 20:02:50 -0500 (EST) Received: from localhost.localdomain (acid.cnd.mcgill.ca [132.216.11.151]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j1D12VBM032039; Sat, 12 Feb 2005 20:02:31 -0500 Received: from localhost.localdomain (acid [127.0.0.1]) j1D12VC7007193; Sat, 12 Feb 2005 20:02:31 -0500 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j1D12VB8007192; Sat, 12 Feb 2005 20:02:31 -0500 Date: Sat, 12 Feb 2005 20:02:31 -0500 From: Mathew Kanner To: Ruslan Ermilov Message-ID: <20050213010231.GH5488@cnd.mcgill.ca> References: <20050212145501.GG5488@cnd.mcgill.ca> <20050212220020.GD44342@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050212220020.GD44342@ip.net.ua> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA cc: freebsd-current@FreeBSD.org cc: Mathew Kanner Subject: Re: cross platform X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2005 01:03:13 -0000 On Feb 12, Ruslan Ermilov wrote: > Hi Mathew, > > On Sat, Feb 12, 2005 at 09:55:02AM -0500, Mathew Kanner wrote: > > Hi All, > > I want to get midi working for amd64 and by fixing up the > > (kernel) printf directives, I have two stupid question: > > - How do I compile a module for a different platform? > > > [...snap build directions...] > > - How do I know which is the right directive? Is this documented > > somewhere? > > > Please see the build(7) manpage, it talks a bit about cross-builds. Hi Ruslan, Your (snipped) description is great! We should you cross reference build(7) from make.conf(5). My second question, poorly worded, was to in regards to printf qualifiers in the kernel. I not sure I know when to use which when it comes to system types. Thanks, --Mat