# Static julia compilation with own package

**URL:** <https://discourse.julialang.org/t/static-julia-compilation-with-own-package/1435>\
**Category:** Internals & Design\
**Tags:** question\
**Created:** [January 12, 2017, 2:16pm UTC](https://discourse.julialang.org/t/static-julia-compilation-with-own-package/1435 "2017-01-12T14:16:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ihnorton/32/26_2.png) [@ihnorton](https://discourse.julialang.org/u/ihnorton)\
**Post date:** [January 14, 2017, 4:13pm UTC](https://discourse.julialang.org/t/static-julia-compilation-with-own-package/1435/2 "2017-01-14T16:13:19Z")

</div>

Please provide a minimal, complete, reproducible example. We cannot help without more information: your C code, which compiler and arguments, etc. Try building the example in `examples/embedding.c`, and make sure that your initialization code works on the default sysimg.

---

_[View the full topic](https://discourse.julialang.org/t/static-julia-compilation-with-own-package/1435)._
