# PackageCompiler. Re-use of system image

**URL:** <https://discourse.julialang.org/t/packagecompiler-re-use-of-system-image/93386>\
**Category:** General Usage\
**Created:** [January 23, 2023, 9:17am UTC](https://discourse.julialang.org/t/packagecompiler-re-use-of-system-image/93386 "2023-01-23T09:17:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wave\_and\_matter](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wave_and_matter/32/202530_2.png) [@wave\_and\_matter](https://discourse.julialang.org/u/wave_and_matter)\
**Post date:** [January 23, 2023, 9:17am UTC](https://discourse.julialang.org/t/packagecompiler-re-use-of-system-image/93386/1 "2023-01-23T09:17:37Z")

</div>

Parallel to the StaticCompiler i am also trying out the PackageCompiler. A problem that i have with it is that with the standard call

```julia
using PackageCompiler
create_library("myPkg", "myPkgCompiled";
                      lib_name="libmypkg")

```

it refuses to run if the folder for the compiled library already exists. That means that i have to delete the folder or use --force. Then it will repeat the whole 5min process of assembling this folder every time I make a small change and recompile. Since i still need to figure out basic things with trial and error at the moment this is quite an issue.

So my question is: Is there a flag to tell the PackageCompiler to simply use the folder structure from last time and merely replace the object files for my actual code?
