# Cross-build crystal compiler but without build libgc.a? (but lib/crystal/libgc.a exists in offical released tarball)

**URL:** <https://forum.crystal-lang.org/t/cross-build-crystal-compiler-but-without-build-libgc-a-but-lib-crystal-libgc-a-exists-in-offical-released-tarball/6333>\
**Category:** Help & Support\
**Created:** [January 17, 2024, 8:13pm UTC](https://forum.crystal-lang.org/t/cross-build-crystal-compiler-but-without-build-libgc-a-but-lib-crystal-libgc-a-exists-in-offical-released-tarball/6333 "2024-01-17T20:13:54Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![straight-shoota](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/straight-shoota/32/36_2.png) [@straight-shoota](https://forum.crystal-lang.org/u/straight-shoota)\
**Post date:** [January 19, 2024, 6:45pm UTC](https://forum.crystal-lang.org/t/cross-build-crystal-compiler-but-without-build-libgc-a-but-lib-crystal-libgc-a-exists-in-offical-released-tarball/6333/16 "2024-01-19T18:45:12Z")

</div>

What kind of compiler support would be necessary for using zig linker?  
I suppose it’s all just about setting `CC` and adding some `--link-flags`, which is essentially runtime configuration.

Maybe the first thing we could use would be a writeup of the process, maybe in form of a [guide](https://crystal-lang.org/reference/1.11/guides/index.html)?

---

_[View the full topic](https://forum.crystal-lang.org/t/cross-build-crystal-compiler-but-without-build-libgc-a-but-lib-crystal-libgc-a-exists-in-offical-released-tarball/6333)._
