From owner-freebsd-sparc64@FreeBSD.ORG Wed May 4 22:28:37 2005 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5560A16A4CE for ; Wed, 4 May 2005 22:28:37 +0000 (GMT) Received: from mail22.sea5.speakeasy.net (mail22.sea5.speakeasy.net [69.17.117.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1189D43D70 for ; Wed, 4 May 2005 22:28:37 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 16675 invoked from network); 4 May 2005 22:27:24 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail22.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 May 2005 22:27:24 -0000 Received: from hydrogen.funkthat.com (ezklyv@localhost.funkthat.com [127.0.0.1])j44MROmo093431; Wed, 4 May 2005 15:27:24 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id j44MRNRh093430; Wed, 4 May 2005 15:27:23 -0700 (PDT) Date: Wed, 4 May 2005 15:27:23 -0700 From: John-Mark Gurney To: n0oct@sbcglobal.net Message-ID: <20050504222723.GY2670@funkthat.com> Mail-Followup-To: n0oct@sbcglobal.net, freebsd-sparc64@freebsd.org References: <20050504120044.358AE16A4D7@hub.freebsd.org> <20050504144532.0739592d@shirley> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050504144532.0739592d@shirley> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-sparc64@freebsd.org Subject: Re: mount_smbfs X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2005 22:28:37 -0000 n0oct@sbcglobal.net wrote this message on Wed, May 04, 2005 at 14:45 -0500: > Some time ago I asked the silly question: 'does mount_smbfs work on > sparc64?'. The simple answer is 'no.' The 'make' fails with > > #error "Macros for Big-Endians are incomplete" > > which, to my limited knowledge, says that it ain't gonna compile on a > system like a sparc64. > > However, I have been doing some digging at work, and lo and behold, Mac > OSX has a 'mount_smbfs' command, which leads me to ask this question: > is the Big-endian/Little-endian thing different between Mac PowerPC > processors [G5] and sparc64? If not, is there a way I can beat on the Nope... big-endian is big-endian, be it sparc64, arm, powerpc or any other... > code to make mount_smbfs compile for sparc64? IANAP by any stretch of > the imagination, but if someone is willing to guide me, I can certainly > try. Thanks. Very likely if the code base is the same... You probably just need to look around the #error for the defines, and see what MacOSX has added... Probably just need to copy the #define lines between the #else and #endif (or #if and #else)... Good luck... > As an aside, currently running 5.4RC3 on an E250 with 2x300MHz > processors without any noticeable problems. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."