Go back to the FFTW download page.
![Codewarrior mcore Codewarrior mcore](/uploads/1/2/6/5/126544141/764030435.gif)
Go back to the FFTW download page.
Apple used Metrowerks CodeWarrior for a lot projects once the PowerPC came out, including later versions of the Finder and the early MacOS X versions of the Finder. As a result I don't think that the system requirements for MPW went up very much over time. Codewarrior Development Lot PC/MAC. Condition is 'Very Good'. Shipped with USPS Priority Mail. Includes these for PC/MAC: Codewarrior Professional 4.0 Academic Codewarrior 7.0 Academic Codewarrior 9.0 Academic These apps are vintage so please check all requirements before buying. Codewarrior is a C and C and Java development tool. In MacOS 8.6 to 9.x it would install and set up the IDE and programming languages. A lot of Classic Mac apps were written with Codewarrior as well as device drivers and other things. Includes CodeWarrior IDE 1.7 and Metrowerks Java 1.0.2. Will not run on 68k Macs. Download CodeWarrior 10.
Nowadays, installing FFTW on MacOS X is much like on any othe Unix system. In ancient times, a lot more work was required, and some of those obsolete instructions are preserved below for historical interest.
Installing FFTW on MacOS X
To install FFTW on MacOS X, all you should have the Apple developertools installed, so that you can open up a terminal window and compileFFTW just as you would on any other Unix system:
./configure && make
to compile, ande.g. sudo make install
to switch to root
andinstall in /usr/local
. (Note that sudo
asksfor your password, not root
's; alternatively,you can just use su
, assuming that your root
account is enabled (it isn't by default).)The multi-threaded version (with POSIX threads) also works fine(
./configure --enable-threads
).Codewarrior Download For Mac
Precompiled MacOS X libraries via Fink
Instead of the above, the Fink project has puttogether precompiled/prepackaged versions of FFTW 2.x and FFTW 3.x for MacOS X.
Fink provides a collection of free-software Unix tools packaged forMacOS X, based on the excellent package and system-maintainance toolsdeveloped for Debian GNU/Linux
Precompiled packages for CodeWarrior (ancient compiler)
Greg Allen graciously posted a Macpackage of FFTW 2.1.3 and BenchFFT, for CodeWarrior 5 I believe.
In the past, I had created precompiled packages of FFTW for Metrowerks CodeWarrior, includingPPC and 68k libraries. Since my version of CodeWarrior (Pro 2) wasbecoming more and more out of date, I stopped doing this.The last version I packaged in this way was FFTW 2.0.1: fftw-2.0.1.sit.bin.
If you are interested in creating precompiled CodeWarrior packagesof FFTW 3.x (e.g. for MacOS 9), please let us know (and give us a ride on your Tardis).
Compiling FFTW 2.x on MacOS 9
Compiling FFTW yourself on the MacOS is fairly straightforward.For example, this is the outline of the steps to compile thecomplex-transform library using CodeWarrior.
- Download and unpack the FFTW archive (
.tar.gz
format); StuffitExpander (available gratis) should have no problem with this.(Alternatively, you can download standalone gunzipand untarprograms.) - Create an empty CodeWarrior project for the library, anddrag the
fftw
subfolder of the FFTW package onto theproject (this will add all the.c
and.h
files). - Go into the project preferences, change the project type to alibrary, and turn all the optimizations on. You will also also needto go to 'Access Paths' and move the
fftw
folder into the'System Paths' section (since our code includes it as<fftw.h>
). - Compile.
To compile the corresponding test program (
fftw_test
),you'll create a 'console ANSI C' project, adding the library createdabove and the files fftw_test.c
andtest_main.c
(in the tests
subfolder); you'llalso need to modify the access paths as above.Compiling the rfftw transforms is similar, except that you use the
rfftw
folder, and rfftw_test.c
for the testprogram.CodeWarrior Bugs
CodeWarrior Pro 4 reportedly generates incorrect code whencompiling FFTW 2.x at the highest optimization level (level 4).Supposedly, this problem is fixed in CodeWarrior Pro 5 with all thelatest updates applied. (Thanks to Dan Melomedman for the report, andfor bugging Metrowerks about this.) We haven't heard of problems withother versions of CodeWarrior.
Using FFTW 2.x with the Absoft Compilers
Codewarrior Download Mac
Daniel Barth sent us a couple of notes regarding the compilation ofFFTW 2.x using Absoft's C/C++ and Fortran compilers, version 6.2(circa 2001).
First, the Absoft C compiler seems to have trouble with the Unixline endings (line feeds) in the source files. The source files canbe converted to use Mac line endings (carriage returns) via a programlike NetStripper.
Second, in order to link with Fortran programs using Absoft's ProFortran, add a
#define FFTW_FORTRANIZE_UPPERCASE 1
statement to the fftw/config.h
file.![Codewarrior mcore Codewarrior mcore](/uploads/1/2/6/5/126544141/764030435.gif)
![Codewarrior Mac Codewarrior Mac](https://i.ebayimg.com/thumbs/images/g/WeYAAOSwDDdenyWk/s-l200.jpg)