Skip to content

New -mcrt option #116

Description

@rolsen74

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é

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions