Questions tagged [static-compilation]
21 questions
0
votes
2 answers
Trying to static compile a Qt Application using mingw32-make command but getting errors with #include statements
I wrote a text editor application which I want to compile statically. I followed the instructions outlined on this page.
I went to the directory where all the source files were.
Ran:
1. mingw32-make clean //no problems
2. qmake -config release //no…

W.K.S
- 9,787
- 15
- 75
- 122
0
votes
0 answers
Static build of nginx fails with http_image_filter_module
I am trying to create a static build of nginx so that I can copy it easily to a different server.
I tried to both install the libgd-dev library using a package manager, and to build it from source in /usr/local but when I add the option…

isapir
- 21,295
- 13
- 115
- 116
0
votes
1 answer
Paho CPP - compile as a static executable
Is it possible to compile Paho CPP as a static executable? If so - how?
Here is an example of the compilation statement for one of the examples:
g++ -DOPENSSL -I.. -I/usr/local/include -D_NDEBUG -Wall -std=c++11 -O2 -o data_publish data_publish.cpp…

Robben_Ford_Fan_boy
- 8,494
- 11
- 64
- 85
0
votes
0 answers
How can I see the physical addresses my code is mapped to by the OS
When executing a simple C program, is it possible to know at what physical address (or range of addresses) different parts of my C program (e.g. data,text, stack,heap etc) are mapped by the operating system e.g. Linux. Is it possible to achieve this…

Syed Aftab Rashid
- 35
- 1
- 4
0
votes
1 answer
Force @GrailsCompileStatic check request as AbstractMultipartHttpServletRequest
I'm trying to apply @GrailsCompileStatic to controller that has an action that retrieves MultipartFiles from request:
request.getFile('foo')
But get the following:
[Static type checking] - Cannot find matching method
…

Anton Hlinisty
- 1,441
- 1
- 20
- 35
0
votes
2 answers
Grails. How to handle the 'mixed' methods and variables when using @GrailsCompileStatic
I'm eager to use the @GrailsCompileStatic annotation in many places of my grails 3.1.7 application. But the main problem is that it doesn't take into account that domains, commands and controllers are 'mixed' with additional methods (like save() or…

Anton Hlinisty
- 1,441
- 1
- 20
- 35