-
Notifications
You must be signed in to change notification settings - Fork 2
Building Compiling
Kyle L. Huff edited this page Jan 19, 2014
·
2 revisions
To compile on linux (for linux), in the source directory execute
make
Then copy bin/linux_x86-gcc3/buildcrx to where you want to use it. (or just use it there)
To cross-compile this utility for windows on linux using mingw, simply execute
make CC=i586-mingw32msvc-gcc
To build on a windows machine, either modify the makefile to your needs, or in the source directory execute:
gcc -L libs/openssl/winnt_x86-msvc -I include/openssl -g -Wall -o bin/winnt_x86-msvc/buildcrx.exe buildcrx.c -lm -DDEBUG -lcrypto -lgdi32
Then copy bin/winnt_x86-msvc/buildcrx.exe to where you want to use it.