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

New -mcrt option #116

Open
rolsen74 opened this issue Jan 28, 2022 · 0 comments
Open

New -mcrt option #116

rolsen74 opened this issue Jan 28, 2022 · 0 comments

Comments

@rolsen74
Copy link

This is an enhancement request

I have written a new c-library for AmigaOS4.

Currently gcc is hardcoded to clib2 or newlib ... I like too have a new option ralib for -mcrt .. that way I can avoid overwritting the clib2 install.

Currently there is a

sdk:clib2
sdk:newlib
sdk:local/common
sdk:local/clib2/include
sdk:local/clib2/lib
sdk:local/newlib/include
sdk:local/newlib/lib

I like to add

sdk:ralib/include
sdk:ralib/lib
sdk:local/ralib/include
sdk:local/ralib/lib

When linking a program I mimic clib2 and have these 3 objects

crt0.o
crtbegin.o
crtend.o

crt0.o is really not used its just have the assembler instruction 'blr' witch just return. so its not needed.

All the objects and include files can be obtained here

http://os4depot.net/?function=showfile&file=development/library/reactivec_lib.lha

Those files a released under a BSD license so you can redistrubute them if you want.

Regards
René

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