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

  • Picolibc 1.0 Released - A New C Library For Embedded Systems

    Phoronix: Picolibc 1.0 Released - A New C Library For Embedded Systems

    Longtime X11 developer Keith Packard -- who these days is focused full-time on RISC-V while working for SiFive -- has released Picolibc 1.0 as a new libc implementation for embedded systems...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    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.

    Comment


    • #3
      Wonder how nice systemd will play with this ...

      Comment


      • #4
        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.

        Comment


        • #5
          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.

          Comment


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

            Comment


            • #7
              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

              Comment


              • #8
                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

                Comment


                • #9
                  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

                  Comment


                  • #10
                    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".

                    Comment

                    Working...
                    X