I am creating a web site in Objective-C, running with CGI and Apache, and, because people don't have patience, I want to create it as fast as possible.
So the main question: Does static linking result in faster loading than dynamic linking?
Of course, the binary will be bigger, but.. the system has to read less files.
P.S. I do care...
I have debug versions of libstdc++ and libc, among others, and would like to link against them. They live in /usr/lib/debug as opposed to /usr/lib. Any ideas?
...
I am confused I think on C++ class structure.
I have a .h called FxMathFunctions.h and a .cpp called FxMathFunctions.cpp
the .h starts like:
class FxMathFunctions
{
public:
FxMathFunctions();
~FxMathFunctions();
and in the .cpp
I have:
#include "FxBasicTypes.h"
#include "FxMathFunctions.h"
FxMathFunctions::F...
I want Qt software to be cross compiled for powerpc architecture on windows machine.on,linux machine i am able to do this task by giving the exact qmake specification for xplatform option. but i am not able to this from windows machine.
i had powerpc tool chain installed on my windows machine.
please tell me in detail how i can cross ...
I had to modify some open source code to use in a C project. Instead of building a library from the modified code, I'd like to just compile and build an executable from my own source combined with the modified open source code. The goal is to have a stand-alone package that can be distributed. I can get this to work just fine using th...
Hi,
I don't properly understand compilation and linking of C++ programs. Is there a way, I can look at object files generated by compiling a C++ program(in an understandable format). This should help me understand format of object files, how C++ classes are compiled, what information is needed by compiler to generate object files and he...
Hey Guys, I'm hoping someone will be able to help troubleshoot what I think is a linker script issue.
I'm encountering a strange problem after adding a call to a new function. Without the function call, my object files link correctly, however, with the new function call added, I get an undefined reference to a symbol from another object...
I'm following this guide mostly to compile gcc on windows:
http://www.aristeia.com/Misc/gcc4ForWindows.html
The difference is that I am using msys 1.10 and trying to build gcc trunk from SVN. the source tree compiles fine on linux, however when I attempt to build on windows, i get the following error upon running the configure script.
...
I am trying to compile libyaml under Windows 7 with MingW.
I have tried to compile 0.1.2 and 0.1.3 but i just get this error:
api.c:579: error: failure in redeclaration of 'yaml_token_delete': dllimport'd symbol lacks external linkage.
api.c:579: confused by earlier errors, bailing out
Have anyone else seen this error? Do you guys an...
I am brushing up again and I am getting an error:
Cannot call member function without object.
I am calling like:
FxString text = table.GetEntry(obj->GetAlertTextID());
FxUChar outDescription1[ kCP_DEFAULT_STRING_LENGTH ];
IC_Utility::CP_StringToPString(text, &outDescription1[0] );
The line: IC_Utility::CP_StringToPString(text, &out...
There are many lexical analyzer and parser generators out there - lex/flex and yacc/bison, jflex and javacup, gplex and gppg, etc. I'm wondering what tools are used by the official developers of languages - do Sun and Microsoft use any of these in developing Java and .NET, or do shops of that size use only custom internal tools?
...
We have a large number of projects within a solution mostly simple class libraries (which are later loaded through MEF) targetting .NET 4.0.
We would like to compile a large number of these for both .NET 4.0 and the Silverlight runtime without duplicating files.
Is there a way to create a new Silverlight class library and link the sour...
how to create user defined header files in C step by step please including the compiling process as well :)
SOLVED TY ALL
...
This question is perhaps somehow odd, but how can I speed up g++ compile time? My C++ code heavily uses boost and templates. I already moved as much as possible out of the headers files and use the -j option, but still it takes quite a while to compile (and link).
Are there any tools out there which analyse my code and point out bottle-...
This is what I get when trying to compile a simple hello world program with gcc.
c:\>gcc hello.c
hello.c:9:2: warning: no newline at end of file
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot open output file a.exe
: Permission denied
collect2: ld returned 1 exit status
Does it have something to do with w...
I have an executable project A, which references to a Class Library project B. However, when I build A, it does not automatically rebuild B. The only way to get B rebuilt and used by A is to rebuild B then build A.
Is there a way I can get B to be rebuilt automatically and then used by A when I build A?
...
Hey,
im compiling my app , which is working great and i wanted to ask you 2 questions
1. im getting about 14 warnings like that
no '-addCategory' method found
which i know how to solve but even after i cleaned everything added the function to the header file and compile again it's still there i cant get rid of it.
2. im pretty ne...
Hello everyone! I am experimenting with different open source projects just to see which one I can work with since I am a beginner. Of course, many projects have different dependencies and programs that you must install. I want to keep things organized and I don't want to pollute my main windows account, since I use this machine for ever...
Hi there Iam using coffeeScript for my apps now and I love it but recently I've been having a lot of trouble with compilation, Iam using it for a rails application and when I run
coffee -w -c public/javascripts
It will compile correctly the first time but when I do some changes it just turns to
(function() {
})();
Some time before...
For some reason when I attempt to configure phc-0.2.0.3 oh my machine (Fedora Linux localhost.localdomain 2.6.34.6-47.fc13.i686 #1 SMP Fri Aug 27 09:48:44 UTC 2010 i686 i686 i386 GNU/Linux) I get the following error:
checking for boostlib >= 1.34.0... configure: error: We could not detect the boost libraries (version 1.34 or higher). If...