You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to find information how to create a mixed language project with Mojo. Mixing with Python is already possible but how about C/C++? I have a code base based on C/C++ and I would like to investigate the possibilities to partially use Mojo in this project.
Currently the tool "mojo build project" only seems to support building the target executable directly (not seeing the intermediate steps). In a mixed language project you would like to compile the Mojo code to object files so that a separate linker step can link the C/C++/Mojo object files together.
Does Mojo support mixed language project with a separate linker step?
Is there a guide that can show how to create mixed language projects?
Does Mojo support compiling to object file format?
What dependencies does Mojo require, like libc, libstdc++?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to find information how to create a mixed language project with Mojo. Mixing with Python is already possible but how about C/C++? I have a code base based on C/C++ and I would like to investigate the possibilities to partially use Mojo in this project.
Currently the tool "mojo build project" only seems to support building the target executable directly (not seeing the intermediate steps). In a mixed language project you would like to compile the Mojo code to object files so that a separate linker step can link the C/C++/Mojo object files together.
Beta Was this translation helpful? Give feedback.
All reactions