2011-12-28 14:08:33 +01:00
|
|
|
- Information file for 'pastebincl' by Théophile BASTIAN (aka Tobast) -
|
|
|
|
|
|
|
|
So, you've downloaded the source code of PastebinCL and don't know how to compile it?
|
|
|
|
Follow those steps!
|
|
|
|
|
|
|
|
------------------------
|
|
|
|
COMPILE ON UNIX-BASED OS
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
- Just run "make" and then "make install" (as root for installing) ;)
|
|
|
|
|
|
|
|
------------------
|
|
|
|
COMPILE ON WINDOWS
|
|
|
|
------------------
|
|
|
|
|
2012-01-08 18:14:50 +01:00
|
|
|
- Open "data.h"
|
|
|
|
- Delete "//" at the beginning of this line : "// #define WINDOWS"
|
|
|
|
- Add "//" at the beginning of this line : "#define UNIX"
|
|
|
|
- Save & close the file
|
2011-12-28 14:08:33 +01:00
|
|
|
- If you can run "make" using CygWIN, MinGW or other, that's the easiest way.
|
|
|
|
- Else, you can create a Code::blocks or other IDE project and then compile.
|
|
|
|
|
|
|
|
(But, really, I cannot see why you want to use a command-line tool on Windows.)
|
|
|
|
|