ahgamut / superconfigure

wrap autotools configure scripts to build with Cosmopolitan Libc
The Unlicense
159 stars 22 forks source link

Add bc #30

Closed juanrunzio closed 3 months ago

juanrunzio commented 3 months ago

This PR adds bc, a command line calculator.
Results were tested across different OS, such as Windows x86_64, Linux x86_64, macOS. Tests can be run with:

make -j test
rladaga commented 3 months ago

Here you can see that the Workflow runs perfectly, and all the jobs are completed without errors.

ahgamut commented 3 months ago

Merged. Thank you!

franalbani commented 3 months ago

@ahgamut @jart we are considering adding top htop btop. Do you foresee any problem?

ahgamut commented 3 months ago

My present opinion is that htop (and top, I assume btop is similar) would likely make some OS-specific assumptions at ./configure time that might be weird. For example, if htop checks for something like /proc/sys, it's available at build time but running it on Windows may not work as expected.

I have not tried building htop in a while -- IMO it's worth a try, I think it should be buildable, but we might need to check a bit more to confirm it works as expected on the different systems.

If htop works the same across all the systems, happy to accept a PR (even if some features are disabled).