]> cvs.zerfleddert.de Git - proxmark3-svn/blob - COMPILING
client/COMPILING: move to /COMPILING and add instructions to be able to compile the...
[proxmark3-svn] / COMPILING
1 The project compiles on Linux, Mac OS X and Windows (MinGW/MSYS).
2
3 it requires:
4 - gcc >= 4.4
5 - libpthread
6 - libreadline
7 - libusb
8 - perl
9 - an ARM cross-compiler to compile the firmware
10
11 and optionally QT for the GUI
12
13
14 To compile, just run "make".
15
16 ===========
17 = Windows =
18 ===========
19 The following is a complete list of packages required to setup the compile environment yourself. Alternatively you can download an archive of the full environment (see below).
20
21 1 - Install QT SDK for Windows [1]
22
23 In the following instructions, we'll assume you installed it to C:\QT
24
25 2 - MSYS-1.0.11 [2]
26
27 Just follow the installation procedure.
28 When asked if you have MinGW installed and for its path, provide:
29 C:/QT/mingw
30
31 3 - readline-5.0-1-bin [5]
32
33 From this archive, copy:
34 bin/* to C:\QT\mingw\bin
35 include/* to C:\QT\mingw\include
36 lib/*.a to C:\QT\mingw\lib
37
38 4 - libusb-win32-device-bin-0.1.12.2 [6]
39
40 Be careful here, it is *NOT* working with the filter version!
41 Likewise copy:
42 include/usb.h to C:\QT\mingw\include
43 lib/gcc/libusb.a to C:\QT\mingw\lib
44
45
46 5 - Install DevkitPro [5]
47
48 You'll need it to compile the firmware (ARM) side.
49 You only need devkitARM, nothing more (no extra lib or anything else)
50 Assuming you installed it to C:\devkitpro, make sure you set
51 the DEVKITARM environment variable to /c/devkitPro/devkitARM :
52 export DEVKITARM=/c/devkitPro/devkitARM
53
54 6 - Install Strawberry Perl [6]
55
56 Download links:
57
58 [1] http://qt.nokia.com/downloads/sdk-windows-cpp
59 [2] http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe
60 [3] http://sourceforge.net/projects/gnuwin32/files/readline/5.0-1/readline-5.0-1-bin.zip/download
61 [4] http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/0.1.12.2/libusb-win32-device-bin-0.1.12.2.tar.gz/download
62 [5] http://sourceforge.net/projects/devkitpro/files/Automated%20Installer/devkitProUpdater-1.5.0.exe/download
63 [6] http://strawberry-perl.googlecode.com/files/strawberry-perl-5.10.1.1.msi
64
65 Rather than download and install every one of these packages, a new ProxSpace
66 environment archive file will be made available for download on the project
67 page at http://code.google.com/p/proxmark3/downloads/list
68
69 Download the ProxSpace environment archive and extract it to C:\
70
71 ============
72 = Mac OS X =
73 ============
74
75 macport stuff should do ;)
76
77 ============
78 = Linux =
79 ============
80
81
Impressum, Datenschutz