Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling Hercules on gcc/linux #296

Open
wgs777 opened this issue Apr 16, 2022 · 1 comment
Open

Compiling Hercules on gcc/linux #296

wgs777 opened this issue Apr 16, 2022 · 1 comment

Comments

@wgs777
Copy link

wgs777 commented Apr 16, 2022

Hi,

I'd like to build Hercules Hyperion 4.0 from scratch on Linux and try using different compilers.
I'm not seeing the CC and CFLAGS variables anywhere in the make files where you can change compilers or compiler options.

[1] Where are the CC and CFLAGS set?
[2] What specific command would build the entire Hercules source on Linux using GCC.

Thanks,
Bill

@CodeAsm
Copy link

CodeAsm commented Oct 26, 2023

have you tried looking in the cmakelists ?
https://github.com/hercules-390/hyperion/blob/master/CMakeLists.txt
according to https://stackoverflow.com/questions/10085945/set-cflags-and-cxxflags-options-using-cmake you can set these after setting the project.

In general they seem to use CMake, im only recently started working with CMake but I think you should look into cmake docs.

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

No branches or pull requests

2 participants