Announcement

Collapse
No announcement yet.

Picolibc 1.0 Released - A New C Library For Embedded Systems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • skeevy420
    replied
    Originally posted by starshipeleven View Post
    Picolibc is designed for microcontrollers, Systemd support is irrelevant. You will never run Linux if your hardware has "a few kB of flash and even fewer kB of RAM".
    Hold my beer

    Leave a comment:


  • starshipeleven
    replied
    Originally posted by Raka555 View Post
    Wonder how nice systemd will play with this ...
    Picolibc is designed for microcontrollers, Systemd support is irrelevant. You will never run Linux if your hardware has "a few kB of flash and even fewer kB of RAM".

    Leave a comment:


  • discordian
    replied
    Originally posted by FireBurn View Post

    I'm building multilib packages just fine with meson here, just make sure your cross file is correct if you're having issues
    And who creates the crossfiles (~20 for arm see below) when building the compiler, you know how inter-depend gcc and c-library are?
    A sane buildsystem does not need external shell or python scripts for the most common task.

    Code:
    $ ./arm-none-eabi-gcc -print-multi-lib
    .;
    arm/v5te/softfp;@marm@march=armv5te+fp@mfloat-abi=softfp
    arm/v5te/hard;@marm@march=armv5te+fp@mfloat-abi=hard
    thumb/nofp;@mthumb@mfloat-abi=soft
    thumb/v7/nofp;@mthumb@march=armv7@mfloat-abi=soft
    thumb/v7+fp/softfp;@mthumb@march=armv7+fp@mfloat-abi=softfp
    thumb/v7+fp/hard;@mthumb@march=armv7+fp@mfloat-abi=hard
    thumb/v6-m/nofp;@mthumb@march=armv6s-m@mfloat-abi=soft
    thumb/v7-m/nofp;@mthumb@march=armv7-m@mfloat-abi=soft
    thumb/v7e-m/nofp;@mthumb@march=armv7e-m@mfloat-abi=soft
    thumb/v7e-m+fp/softfp;@mthumb@march=armv7e-m+fp@mfloat-abi=softfp
    thumb/v7e-m+fp/hard;@mthumb@march=armv7e-m+fp@mfloat-abi=hard
    thumb/v7e-m+dp/softfp;@mthumb@march=armv7e-m+fp.dp@mfloat-abi=softfp
    thumb/v7e-m+dp/hard;@mthumb@march=armv7e-m+fp.dp@mfloat-abi=hard
    thumb/v8-m.base/nofp;@mthumb@march=armv8-m.base@mfloat-abi=soft
    thumb/v8-m.main/nofp;@mthumb@march=armv8-m.main@mfloat-abi=soft
    thumb/v8-m.main+fp/softfp;@mthumb@march=armv8-m.main+fp@mfloat-abi=softfp
    thumb/v8-m.main+fp/hard;@mthumb@march=armv8-m.main+fp@mfloat-abi=hard
    thumb/v8-m.main+dp/softfp;@mthumb@march=armv8-m.main+fp.dp@mfloat-abi=softfp
    thumb/v8-m.main+dp/hard;@mthumb@march=armv8-m.main+fp.dp@mfloat-abi=hard

    Leave a comment:


  • FireBurn
    replied
    Originally posted by discordian View Post
    Oh great meson, means it will likely never be able to build that library for multilib without extra shell or python scripts tacked on.
    I'm building multilib packages just fine with meson here, just make sure your cross file is correct if you're having issues

    Leave a comment:


  • maarten
    replied
    Originally posted by cybertraveler View Post
    I scanned around a bit in the links, but couldn't find which C standard the library aims to conform to. Personally I like to work with C99 at minimum. I like the integer types introduced in it.
    I think it's c99. See the meson header: https://github.com/keith-packard/pic...eson.build#L38

    Leave a comment:


  • discordian
    replied
    Oh great meson, means it will likely never be able to build that library for multilib without extra shell or python scripts tacked on.

    Leave a comment:


  • yoshi314
    replied
    Originally posted by Raka555 View Post
    Wonder how nice systemd will play with this ...
    it won't most likely. can you build it with musl - there was an effort to patch it to do so, not sure what came out of it.

    Leave a comment:


  • Julien Bear
    replied
    Originally posted by Raka555 View Post
    Wonder how nice systemd will play with this ...
    There should be Poettering's law comparable to Godwin's Law.

    Leave a comment:


  • Raka555
    replied
    Wonder how nice systemd will play with this ...

    Leave a comment:


  • cybertraveler
    replied
    I scanned around a bit in the links, but couldn't find which C standard the library aims to conform to. Personally I like to work with C99 at minimum. I like the integer types introduced in it.

    Leave a comment:

Working...
X