Guillaume Legris

Results 6 comments of Guillaume Legris

Hello @mikaku, I think "-msoft-float" should work

In my opinion, since FiwixOS's newlib is not compiled in soft float mode, the binaries of the code (df in your case) linked against newlib contains FP instructions. Newlib's printf...

I see that soft-fp is not integrated in the FiwixOS's gcc package. You can build the [soft-fp](https://github.com/gcc-mirror/gcc/tree/releases/gcc-4.7/libgcc/soft-fp) library yourself and compile your code against it: `gcc -msoft-float test.c -lsoft-fp`

I can't compile soft-fp for gcc-4.7.4, it seems broken. I found a temporary solution based on a [third party library](https://github.com/ant6n/ieeelib) in the meantime. The source code to compile your example...

> In fact, the `fpu` in the [softfloat.zip](https://github.com/user-attachments/files/17347659/softfloat.zip) doesn't work either. Could you give me your 86Box configuration? So I can try to fix things too.

I recently made progress with the help of @mikaku. We managed to get a **minimal version of Fiwix OS to boot on a 386 without an FPU**. To run Fiwix...