#44 i386-darwin Support

open
Denis Leroy
5
2006-03-19
2006-03-19
banjo1000
No

The make file doesn't know about darwin on intel hardware, only power-
pc. I would appreciate it if support could be extended to Intel processors
too. Thanks!

================

% make
RULES/rules1.top:234: incs/Dcc.i386-darwin: No such file or directory
RULES/rules.top:39: RULES/i386-darwin-cc.rul: No such file or directory
RULES/rules.cnf:56: incs/i386-darwin-cc/Inull: No such file or directory
RULES/rules.cnf:57: incs/i386-darwin-cc/rules.cnf: No such file or
directory
Makefile:18: warning: overriding commands for target `install'
RULES/rules1.dir:27: warning: ignoring old commands for target `install'
p incs/i386-darwin-cc
make: p: Command not found
make: [incs/i386-darwin-cc/Inull] Error 127 (ignored)
/bin/sh: line 1: incs/i386-darwin-cc/Inull: No such file or directory
make: *** [incs/i386-darwin-cc/Inull] Error 1

Discussion

  • Yoshiki Hiraki
    Yoshiki Hiraki
    2006-06-04

    Logged In: YES
    user_id=713103

    You can use "power-macintosh-darwin-cc.rul" as "i386-darwin-cc.rul" :
    $ cp ~/cdrdao-1.2.1/scsilib/RULES/power-macintosh-darwin-cc.rul ~/
    cdrdao-1.2.1/scsilib/RULES/i386-darwin-cc.rul

     
  • Logged In: YES
    user_id=1325304
    Originator: NO

    These were my steps. Not sure if #1 was necessary as I took it from MacPorts and it works. MacPorts has an extra step that breaks the compilation step that I've removed. It has been tested to work with OS X 10.5.2 running on Intel hardware:

    1. Open the file dao/ScsiIf-lib.cc and replace "#ifndef linux" with "#ifdef linux". Write and close.
    2. Copy the file scsilib/RULES/power-macintosh-darwin-cc.rul to scsilib/RULES/i386-darwin-cc.rul

    Developers, please patch your code to work with OS X!