From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NpLf9-0002xW-V3 for mharc-grub-devel@gnu.org; Wed, 10 Mar 2010 08:09:23 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NpLf8-0002uh-VE for grub-devel@gnu.org; Wed, 10 Mar 2010 08:09:23 -0500 Received: from [140.186.70.92] (port=60924 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NpLf5-0002oq-UQ for grub-devel@gnu.org; Wed, 10 Mar 2010 08:09:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NpLf4-0002Xk-Mr for grub-devel@gnu.org; Wed, 10 Mar 2010 08:09:19 -0500 Received: from fg-out-1718.google.com ([72.14.220.157]:2205) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NpLf4-0002Xe-Fr for grub-devel@gnu.org; Wed, 10 Mar 2010 08:09:18 -0500 Received: by fg-out-1718.google.com with SMTP id d23so679329fga.12 for ; Wed, 10 Mar 2010 05:09:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=l+SWOHljQcTmdtlFHIo+/PggayL98GstMmuqxCMmWvQ=; b=WOHkau56G6m4dsnGD0/ixa/pplicE82WCjjo6TyBsJ8F2zvcQYgQmb8C27K6dosbBn P396xEnni1sIEKctlFdLG8VHz8LgmJeOWpi2fcSCDNfpKB20V7jZd9/EtwcnrZ6cxsv1 JMkwiBHfwpLsQguu271jqa8dmIo4vp1RHkfo0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=pmEyLI9smckSpg7LkZnHgi8kBwsnt4GLsXyOMHIKpBW+fWpjv+X9Wv94CdvAtsQHBS kBF88Vtgjqdar8a7URpL/JTZakIsZmG4oPTW7E290gZQX436HO4jhdzwXhXc+uU6sZgf 5Erf3DeWH0eXslrbB9M43358wS88GbCtkXxbk= Received: by 10.86.106.7 with SMTP id e7mr2737625fgc.1.1268226557523; Wed, 10 Mar 2010 05:09:17 -0800 (PST) Received: from debian.bg45.phnet (public-docking-hg-2-125.ethz.ch [129.132.247.125]) by mx.google.com with ESMTPS id d8sm9690988fga.19.2010.03.10.05.09.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Mar 2010 05:09:15 -0800 (PST) Message-ID: <4B9799FA.6000008@gmail.com> Date: Wed, 10 Mar 2010 14:09:14 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <50CB6C52-7E83-4423-9DF8-E4EB67E3B156@howarth.de> In-Reply-To: <50CB6C52-7E83-4423-9DF8-E4EB67E3B156@howarth.de> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig67C3F6AAA2F5435AA697394C" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Problems compiling/running Grub 1.97.2 on Mac OS X 10.6.2 on intel MacBook Pro X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2010 13:09:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig67C3F6AAA2F5435AA697394C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Colin Howarth wrote: > Hi, > > I've had a look at the archives, but it's not clear to me which problem= s are current. > > I do: > > ./configure --with-platform=3Defi --target=3Di386 > > (i386 instead of x86_64) because the FreeType libs (installed in /usr/l= ocal/fink/lib/freetype219 are 32 bit libraries. > > =20 "target" is only about which system grub itself runs under. For instance your command will generate efi32 binary which is unsuitable for efi64.=20 The system grub utils run under is "host" and not "target" > > Compilation nevertheless fails with: > > ld: warning: in /usr/local/fink/lib/libfreetype.dylib, file is not of r= equired architecture > > unless I insert liberal sprinklings of " -arch i386 -m32 " in all the = CCFLAGS and LDFLAGS (in the Makefile). > > > > > Then, when compilation succeeds, actually running > > ./grub-mkimage -d . -o grub.efi part_gpt hfsplus fat ext2 normal sh cha= in boot configfile linux > > also fails due to the "unknown" symbol _memcmp. > > memcmp IS in stdlib. But one of the flags set during the ./configure is= " -nostdlib " > > > If I remove all "-nostdlib" from ./configure I get: > > checking whether target compiler is working... no > configure: error: cannot compile for the target > > > > gcc is version 4.2.1 (Apple Inc. build 5646) (dot 1) > > > > > Is there currently a working version for Mac OS X 10.6.2? > > > Any pointers much appreciated! > > > colin > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig67C3F6AAA2F5435AA697394C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAkuXmfoACgkQNak7dOguQgm8BgEAtqzgryQSYhLxRYquLv9ppkD4 qmtS0maPrwtsBeW4AAoBAKXRPcqtYEuJOxg19fGJScYj7YyA9udOcILGHi6M3Ifw =z1SE -----END PGP SIGNATURE----- --------------enig67C3F6AAA2F5435AA697394C--