WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@winspool
Copy link

@winspool winspool commented May 12, 2025

This removes enough of the gcc extensions to allow using other compilers:

* allow overwriting CC
* do not use the "--std=gnu99" commandline option
* do not depend on __attribute__((weak, alias())) support
* do not depend on __attribute__((vector_size())) support

Works with "tcc" / x86_64-tcc" and "i386-tcc" on Linux.
(Using owcc needs more work)

This removes enough of the gcc extensions to allow another compiler to build the project:

* allow overwriting CC
* do not use the "--std=gnu99" commandline option
* do not depend on __attribute__((weak, alias())) support
* do not depend on __attribute__((vector_size())) support
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.

1 participant