https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66382

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot 
com> ---
On Mon, 14 Mar 2016, dan.parrot at mail dot com wrote:

> However, I am still unable to get gcc to compile a very simple program 
> when passed the -msoft-float option. Here is the program (test.c)

For 32-bit, -msoft-float is a distinct ABI from -mhard-float, and requires 
its own copies of libgcc, libc, etc.; you can't just build and run a 
soft-float program on a hard-float system without building all those 
separate libraries and arranging for the program to find them at link time 
and run time.

For 64-bit, -msoft-float is not supported, and hard-float is always 
available.  (__float128 might use software or hardware floating point - 
software before POWER9, hardware with POWER9 - but that's controlled by 
other options.)

Reply via email to