Questions tagged [recompile]

The act of compiling something again.

To "recompile" is to compile again. This could refer to simply compiling a second time, or compiling decompiled code.

191 questions
87
votes
8 answers

Decompile an APK, modify it and then recompile it

I need to modify an existing APK, modify the sources and then recompile it. I can decompile it using dex2jar or apktool, it's working great From the jar file I can obtain the java sources (using jd-gui) Then I can modify the java files But now I…
darkheir
  • 8,844
  • 6
  • 45
  • 66
79
votes
3 answers

How do I make Makefile to recompile only changed files?

I have been struggling a bit to get make to compile only the files that have been edited. However I didn't have much success and all the files get recompiled. Can someone explain me why? My files are: main.c a_functions.c where main.c includes…
Pithikos
  • 18,827
  • 15
  • 113
  • 136
35
votes
8 answers

Is it safe to recompile an executable while it's running?

What happens if I recompile an executable while it's running? Does the operating system read all of the executable's contents into memory when it starts running it, so it will never read the new executable file? Or will it read sections of the new…
HighCommander4
  • 50,428
  • 24
  • 122
  • 194
29
votes
4 answers

Git workflow - changing branch and slow recompiles

I work on a large Scala project where we use Git for version control. My workflow is to work on new features in my own branch and switch when needed. Various releases of the code are in their own branches. All very standard. If I have to fix a bug…
David
  • 1,862
  • 2
  • 22
  • 35
23
votes
2 answers

dotnet dll decompile and change the code

I need to change the code of the .NET DLL. I am able to see the code by compilable the DLL with .NET reflector, but I am not able to change the code of the DLL. With .NET Reflector, I decompile the code and saved in to my hard disk, but when i am…
user900492
  • 301
  • 2
  • 3
  • 5
23
votes
12 answers

apktool build apk fails

I am experiencing very annoying problems with the application apktool problem. I do not understand what i am doing wrong, or what the problem is. I tried this on debian , and on linux mint. I used different versions of apktool, resulting in the…
user3046636
  • 693
  • 3
  • 8
  • 12
22
votes
7 answers

Recompile with -fPIC option, but the option is already in the makefile

I get this error when I do the make: relocation R_X86_64_32 against `vtable for Torch::MemoryDataSet' can not be used when making a shared object; recompile with -fPIC It says that I should recompile with the -fPIC option. I did that, adding the…
Eduardo
  • 19,928
  • 23
  • 65
  • 73
21
votes
3 answers

Pickle: dealing with updated class definitions

After a class definition is updated by recompiling a script, pickle refuses to serialize previously instantiated objects of that class, giving the error: "Can't pickle object: it's not the same object as " Is there a way to tell pickle that it…
iestyn
  • 311
  • 2
  • 4
18
votes
3 answers

Recompile a x86 code with LLVM to some faster one x86

Is it possible to run LLVM compiler with input of x86 32bit code? There is a huge algorithm which I have no source code and I want to make it run faster on the same hardware. Can I translate it from x86 back to x86 with optimizations. This Code runs…
osgx
  • 90,338
  • 53
  • 357
  • 513
18
votes
5 answers

public static final variable in an imported java class

I happen to come across a Java code at my work place. Here's the scenario: There are 2 classes - ClassA and ClassB. ClassA has nothing except 4 public static final string values inside it. Its purpose is to use those values like ClassA.variable…
Senthil Kumar
  • 9,695
  • 8
  • 36
  • 45
14
votes
3 answers

Is it possible to translate an assembly language to LLVM IR, optimize it and then recompile it to a different architecture?

Is it possible to translate an assembly language to LLVM IR, optimize it and then recompile it to a different architecture? How would you handle "push"es and "pop"s on the stack in the IR? This is the simplest objection I found, but I'm sure that…
Francesco Boffa
  • 1,402
  • 1
  • 19
  • 35
14
votes
1 answer

SQL Server: Effects of using 'WITH RECOMPILE' in proc definition?

My understanding of the WITH RECOMPILE option with stored procedures is generally limited to using the clause with a single stored proc call as a trailing parameter: exec sp_mystoredproc 'Parameter1', 2, '1/28/2011' with recompile What are the…
Dan Esparza
  • 28,047
  • 29
  • 99
  • 127
14
votes
3 answers

Trigger is invalid in Oracle

Some of the triggers in my database become invalid after certain changes on the tables. But it seems that they are still working. The only problem I have is if I use SQL Developer there are red crosses on the left hand side of the triggers…
newguy
  • 5,668
  • 12
  • 55
  • 95
12
votes
6 answers

Fix bugs in .NET program without access to source

I have a program i frequently use that is made with .NET. This program has a small bug that is very annoying and the developer to the app is nowhere to be found. I have found the location of the problem in reflector and just want to add a single…
Erik
  • 133
  • 5
9
votes
2 answers

What is the difference between CFQ, Deadline, and NOOP?

I'm recompiling my kernel, and I want to choose an I/O scheduler. What's the difference between these?
Orcris
  • 3,135
  • 6
  • 24
  • 24
1
2 3
12 13