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

stack argument change (on Linux) #9

Open
tissatussa opened this issue Jun 6, 2024 · 2 comments
Open

stack argument change (on Linux) #9

tissatussa opened this issue Jun 6, 2024 · 2 comments

Comments

@tissatussa
Copy link

tissatussa commented Jun 6, 2024

i successfully compiled v3.0.0 on Linux, but i had to change the stack argument -Wl,--stack,33554432 into -Wl,-z,stack-size=33554432 .. maybe this is typical Linux, i don't know, i found this construction in my notes .. but this way compilation went well.

btw. i used the makefile, but your README states compilation can also be done like this:

Peacekeeper can be compiled from source with GNU C++ or Clang with g++ -Ofast -DNDEBUG -march=native -o peacekeeper src/*.cpp

[ i'm on Xubuntu 22.04 ]

@Sazgr
Copy link
Owner

Sazgr commented Jun 8, 2024

Thank you, I don't use Linux so I didn't know how to increase the stack size. I will edit the Makefile and README (soon).

@tissatussa
Copy link
Author

..I don't use Linux..

when you do, you'd never want anything else :-)

linux-rules

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