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

The makefile will perform a check to ensure that a cross compiler exi… #156

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

3246251196
Copy link
Member

…sts and that the SDK header files are found. At least, it checks if the SDK include_h folder exists and assumes the headers are in there. -nostdinc, -nostartfiles and -nostdlib are now moved to the OPTIONS variable which is propagated throughout the necessary fules

…sts and that the SDK header files are found. At least, it checks if the SDK include_h folder exists and assumes the headers are in there. -nostdinc, -nostartfiles and -nostdlib are now moved to the OPTIONS variable which is propagated throughout the necessary fules
@3246251196
Copy link
Member Author

@afxgroup
Currently, this will break because of stdarg.h. It looks like we need a proper implementation of that.

This commit now adds -nostdinc which is expected. We shall not rely on another C library to implement this C library. In doing this change I found that stdarg.h needs a clib4 specific implementation. What it is currently trying to do is to rely on an external CLIB that would be supplied by the MCRT/SPEC file.

stdarg.h is the only file that needs this implementation.

@afxgroup
Copy link
Collaborator

stdarg.h should be included via include_next with gcc one. Let me check

@afxgroup afxgroup merged commit 80be878 into AmigaLabs:beta10 Oct 24, 2023
0 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants