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

error when including math.h on i586-pc-msdosdjgpp-g++ #44

Open
yeti0904 opened this issue Dec 28, 2022 · 0 comments
Open

error when including math.h on i586-pc-msdosdjgpp-g++ #44

yeti0904 opened this issue Dec 28, 2022 · 0 comments

Comments

@yeti0904
Copy link

/usr/bin/ccache i586-pc-msdosdjgpp-g++ -c src/builtins.cc -O0 -std=c++17 -Wall -Wextra -Werror -pedantic -ggdb -fms-extensions -DYSL_VERSION='"a73d29d96a432a528691399ea41dee5288de0f02"' -o bin/builtins.o
In file included from /usr/lib/gcc/i586-pc-msdosdjgpp/12.1.0/include/c++/cmath:47,
                 from /usr/lib/gcc/i586-pc-msdosdjgpp/12.1.0/include/c++/math.h:36,
                 from src/_components.hh:5,
                 from src/builtins.hh:4,
                 from src/builtins.cc:1:
/usr/lib/gcc/i586-pc-msdosdjgpp/12.1.0/include/c++/bits/std_abs.h:38:15: fatal error: stdlib.h: No such file or directory
   38 | #include_next <stdlib.h>
      |               ^~~~~~~~~~
compilation terminated.

code:

#include <map>

i ran the setenv script in the linux64 release before doing this

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

1 participant