Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bundle support libraries with compiler #53

Open
tehKaiN opened this issue Nov 3, 2020 · 0 comments
Open

Bundle support libraries with compiler #53

tehKaiN opened this issue Nov 3, 2020 · 0 comments

Comments

@tehKaiN
Copy link
Contributor

tehKaiN commented Nov 3, 2020

Hi,

Having gcc_support files inside a project is little troublesome. When using newer versions of plugin I had problems with building code containing old support files, so now I'm trying to update them along the way. It raises some problems, though. Having different versions of those files in git history of my project is problematic - If I go back in history, I have to apply support files which are compatible with current version of extension, and I have to do it each time when I'm bisecting commits to find regression bug. The problem escalates to all of my projects because I've made a poor decision of adding those support files to my game library to have plug-and-play experience across repos, but it prevents me from freely selecting the commit from which the library is built.

I think it could be solved by bundling support libs directly with compiler:

  • distribute as .h/.a along with compiler
  • add paths to support files to builtin include/link dirs
  • one could then easily integrate all support features by doing #include <extamiga.h> and linking with -lextamiga (-lamiga name is already taken for amiga library present in most of other compilers)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant