Skip to content

Conversation

@xrfez
Copy link

@xrfez xrfez commented Jan 5, 2023

Adds support for static linking with .o files compiled by g++. -d:cimguiStaticCgcc and --gcc.linkerexe:g++ need to be passed to nim. The cpp files will be compiled by g++ and saved to the nimcache directory. Passing a compatible linker to nim will allow it to properly link all .o files inside the nimcache directory.

Adds support for static linking with .o files compiled by g++.  `-d:cimguiStaticCgcc` and `--gcc.linkerexe:g++` need to be passed.  The cpp files will be compiled by g++ and saved to the nimcache directory.  Passing a compatible linker to nim will allow it to properly link all .o files inside the nimcache directory.
@xrfez
Copy link
Author

xrfez commented Jan 5, 2023

I need to follow up with edits to the generator and utils modules. But this is proof of concept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant