mirror of https://github.com/flysand7/ciabatta.git
free user of the need to explicitly specifying ciabatta dependencies in the linker
This commit is contained in:
parent
b90d7119d4
commit
3b4da3a797
|
@ -1 +1 @@
|
|||
clang test\test_%test%.c src\libwinsane\libwinsane.obj -Iinc -g -lkernel32 -lDbghelp -lciabatta.lib
|
||||
clang test\test_%test%.c src\libwinsane\libwinsane.obj -Iinc -g -lciabatta.lib
|
9
readme
9
readme
|
@ -32,10 +32,13 @@ PLATFORM SUPPORT
|
|||
- x86-64
|
||||
|
||||
USAGE
|
||||
For clang users: add the following flags to your compilation command:
|
||||
-I <path/to/ciabatta/inc> -nostdlib -mfma
|
||||
NOTE: libwinsane.obj can be obtained by running:
|
||||
bake -DNO_CRT
|
||||
In the libwinsane directory.
|
||||
Add the following flags to your compilation command:
|
||||
-I <path/to/ciabatta/inc> libwinsane.obj -nostdlib -mfma
|
||||
Don't forget to link to the following libraries:
|
||||
-lciabatta.lib -lkernel32 -lDbgHelp
|
||||
-lciabatta.lib
|
||||
|
||||
CONTRIBUTING
|
||||
Pull requests are always welcome.
|
||||
|
|
|
@ -7,6 +7,9 @@ int _fltused=0;
|
|||
|
||||
extern int main(int argc, char** argv);
|
||||
|
||||
#pragma comment(lib, "kernel32.lib")
|
||||
#pragma comment(lib, "DbgHelp.lib")
|
||||
|
||||
// Exit routines
|
||||
#define ATEXIT_FUNC_COUNT 64
|
||||
#define ATQEXIT_FUNC_COUNT 64
|
||||
|
|
Loading…
Reference in New Issue