compilation

Why does Delphi's compilation speed degrade the longer it's open, and what can I do about it?

∥☆過路亽.° 提交于 2019-12-03 05:31:43
问题 My company has been running a large project on Delphi for more than a decade. Our codebase has been growing over the years and now stands at around 4 million lines of code. Compilation speed is becoming an issue. We've spent time weeding out unit circular referencing (a known cause of slow compilation) and examined every aspect of the setup. It gets to a point we can't improve it any further materially with what we can control. At the moment, on a state of the art PC with 4 cores running

How to disable real time compilation in Visual Studio 2015

假如想象 提交于 2019-12-03 05:05:38
Is there a way to disable the real time compilation in Visual Studio 2015? It's grinding to a halt whenever I make changes that have a ripple effect throughout my dependent code. The error list updates even before saving the C# file I'm working on, filling it with CS**** compiler errors as I'm typing. In visual Studio 2015 go to tools , options , text editor , C# , Advanced and uncheck Enable full solution analysis . This should stop your problem as the solution won't be checked every time unless you build it. Hope this helps you This is not an answer, but I want to post a screenshot of what

Problems compiling Python 3.2 and 2.7 using pythonbrew

十年热恋 提交于 2019-12-03 05:01:59
I'm trying to build multiple versions of python using Pythonbrew , but I'm getting some test failures. This is on a VM running: Ubuntu 8.04 32bit This happens when I use the --enable-shared option The build.log file errors are shown below: Python 3.2 Here are the failed tests for Python 3.2: LD_LIBRARY_PATH=/opt/standingcloud/stack/pythonbrew/build/Python-3.2: ./python -E -c 'import sys ; from sysconfig import get_platform ; print(get_platform()+"-"+sys.version[0:3])' >platform find ./Lib -name '*.py[co]' -print | xargs rm -f LD_LIBRARY_PATH=/opt/standingcloud/stack/pythonbrew/build/Python-3.2

How to speed up Linux kernel compilation?

眉间皱痕 提交于 2019-12-03 04:58:14
问题 I have core i5 with 8gb RAM. I have VMware workstation 10.0.1 installed on my machine. I have fedora 20 Desktop Edition installed on VMware as guest OS. I am working on Linux kernel source code v 3.14.1. I am developing an I/O scheduler for Linux kernel. After any modifications in code every time it takes around 1 hour and 30 minutes for compiling and installing the whole kernel code to see the changes. Compilation and Installation commands: make menuconfig , make , make modules , make

Why does the C++ linker allow undefined functions?

核能气质少年 提交于 2019-12-03 04:46:40
问题 This C++ code, perhaps surprisingly, prints out 1 . #include <iostream> std::string x(); int main() { std::cout << "x: " << x << std::endl; return 0; } x is a function prototype, which seems to be viewed as a function pointer, and C++ Standard section 4.12 Boolean conversions says: 4.12 Boolean conversions [conv.bool] 1 A prvalue of arithmetic, unscoped enumeration, pointer, or pointer to member type can be converted to a prvalue of type bool. A zero value, null pointer value, or null member

Compiling php with curl, where is curl installed?

佐手、 提交于 2019-12-03 04:43:11
问题 I need to specify a directory when compiling php with --with-curl= The curl binary is located at /usr/bin/curl curl -V gives me curl 7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 locate curl gives me /usr/bin/curl /usr/lib/libcurl.so.3 /usr/lib/libcurl.so.3.0.0 /usr/lib64/libcurl.so.3 /usr/lib64/libcurl.so.3.0.0 removed /usr/share/... and other irrelevant files UPDATE Tried --with-curl=/usr/lib64 and --with-curl=/usr/lib although I'm pretty sure it's

compile directly from vim

怎甘沉沦 提交于 2019-12-03 04:28:51
问题 I'd like to compile cpp file w/o turning off vi. I know the :!g++ file.cpp but I prefer :make so I added this line in .vimrc file au FileType C set makeprg=gcc\ % au FileType Cpp set makeprg=g++\ % but I keep getting "make: ***** No targets specified and no makefile found. Stop.** "message. can anyone tell me what is wrong with my setting? I use to compile successfully with the option above. 回答1: You need the substitution there, try something like: set makeprg=gmake\ %:r.o Oh, this assumes

Build Boost with multiple Python versions

孤者浪人 提交于 2019-12-03 04:25:12
问题 I use several versions of Python on my computer : 2.6.6 , 2.7.6 and 2.7.9 . When I compile Boost with boost-python, I have to give the Python to use in argument. If I want compatibility, have I to compile Boost for each Python version ? (it's quite huge !) Or is there a way to use only one build of Boost with several python versions ? 回答1: The official Python development cycle does not describe the stability of the application binary interface (ABI) between releases. For releases before

How can I use VIM to do .Net Development [closed]

回眸只為那壹抹淺笑 提交于 2019-12-03 04:11:56
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Visual Studio is the defacto editor, but what are our other options that avoid a heavy UI while still integrating with a C# build

symbol table and relocation table in object file

╄→гoц情女王★ 提交于 2019-12-03 04:10:23
From what I understand, instructions and data in an object file all have addresses. First data item start at address 0 and first instruction also start at address 0. The relocation table contains information about instructions that need to be updated if the addresses in the file change, for example if the file is linked together with another. Line A, in the example below, would be in the relocation table. I don't think B would be in the relocation table, since the address of label "equal" is relative to B. Are these correct assumptions? I know the symbol table show the labels the file have and