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

How can we include libararies in the c code of a single partition #5

Open
salmankhalidd opened this issue Oct 19, 2017 · 4 comments
Open

Comments

@salmankhalidd
Copy link

suppose i want to add "stdio.h" into the single partition c code then i simply add it but the code searches for stdio.h in the libpok folder ok i gave the the file their but it gives a errors after error because stdio.h needs 3-4 other headers and those needs others..which are all not their ...
i have been dealing with this for a week now kindly tell me how to solve this issue if one cant use other libraries then it means we cannot perform any thing on a single partition which i am assuming is not the case
kindly solve this issue @yoogx @juli1 @Etienne13 @phipse @joelsherrill

@juli1
Copy link
Contributor

juli1 commented Oct 19, 2017

This is not an issue, you just need to change the -I directive from the compile in order to find your sources/headers. Read the makefile build system and check how to do the change. I am no longer working on it but this is something totally doable.

@salmankhalidd
Copy link
Author

Sir in which file -I directive is used do you remember ?

@salmankhalidd
Copy link
Author

i have checked the makefiles in pok folder and in examples after generated code i didnt find the I directive

@juli1
Copy link
Contributor

juli1 commented Oct 20, 2017

Well, I no longer work on pok since years, I guess you will need to look at the build system.

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