On my Macbook Pro running 10.4.10, "fink install hashcash" fails because
the Makefile is passing -mcpu=750, which isn't a valid choice.  This is
hashcash-1.22.1, and the build attempt is pasted below.

Is there an easy way for me to change the Makefile slightly and rebuild?
By making a custom .info file, I can see how to build for a generic x86
cpu, but for this package choosing good optimization options is crucial,
and I don't see how to do this with only changes to the .info file.

Thanks,

Dan


# fink install hashcash
Information about 6512 packages read in 1 seconds.
The following package will be installed or updated:
 hashcash
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-hashcash-1.22-1 
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-hashcash-1.22-1' in 
`/sw/src/fink.build/fink-buildlock-hashcash-1.22-1_2007.09.03-22.39.42_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-hashcash-1.22-1_2007.09.03-22.39.42_darwin-i386.deb
Selecting previously deselected package fink-buildlock-hashcash-1.22-1.
(Reading database ... 41729 files and directories currently installed.)
Unpacking fink-buildlock-hashcash-1.22-1 (from 
.../fink-buildlock-hashcash-1.22-1_2007.09.03-22.39.42_darwin-i386.deb) ...
Setting up fink-buildlock-hashcash-1.22-1 (2007.09.03-22.39.42) ...
gzip -dc /sw/src/hashcash-1.22.tgz | /sw/bin/tar -xf -  --no-same-owner 
--no-same-permissions 
make CC=gcc g3-osx
make "CFLAGS= -DREGEXP_POSIX -O3 -funroll-loops -fno-inline -mcpu=750 -faltivec 
" build
gcc -DREGEXP_POSIX -O3 -funroll-loops -fno-inline -mcpu=750 -faltivec  
-I/sw/include  -c -o hashcash.o hashcash.c
cc1: error: invalid option 'cpu=750'
make[1]: *** [hashcash.o] Error 1
make: *** [g3-osx] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-hashcash-1.22-1
(Reading database ... 41730 files and directories currently installed.)
Removing fink-buildlock-hashcash-1.22-1 ...
Failed: phase compiling: hashcash-1.22-1 failed


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to