View Single Post
Old 02-21-2007, 08:48 AM   #55
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
Quote:
Originally Posted by Xenophon
Scotty --
I am using the 0.2 version. The problem is that you compiled for the "ppc970" (which is to say the G5). My machine is a G4 (MDD FireWire800, to be precise). So, I get the following:
Code:
[Scipio:~/Documents/Downloads] dfsuther% ls -lt ./readerfs
-rwxr-xr-x   1 dfsuther  staff  59444 Feb 12 15:24 ./readerfs
[Scipio:~/Documents/Downloads] dfsuther% mkdir readertest
[Scipio:~/Documents/Downloads] dfsuther% ./readerfs readertest
tcsh: ./readerfs: Bad CPU type in executable.
[Scipio:~/Documents/Downloads] dfsuther% file ./readerfs
./readerfs: Mach-O fat file with 2 architectures
./readerfs (for architecture i386):     Mach-O executable i386
./readerfs (for architecture ppc970):   Mach-O executable ppc
[Scipio:~/Documents/Downloads] dfsuther%
Perhaps you might build with the -mcpu=powerpc instead of -mcpu=970 flag? Or maybe something else rather odd is happening...

Xenophon
Now it makes sense. I compiled for the Power PC but accidentally optimized for the G5.

Sorry about that.
scotty1024 is offline   Reply With Quote