Skip to content

Commit

Permalink
Build SoftFloat with MSVC
Browse files Browse the repository at this point in the history
Fixes these errors:
```
LibSoftfloat.lib(netf2.obj) : error LNK2001: unresolved external symbol _softfloat_float128_eq
LibSoftfloat.lib(lttf2.obj) : error LNK2001: unresolved external symbol _softfloat_float128_lt
LibSoftfloat.lib(letf2.obj) : error LNK2001: unresolved external symbol _softfloat_float128_le
```

Signed-off-by: Sergey Sudnitsyn [kotbegemoth@gmail.com](mailto:kotbegemoth@gmail.com)
  • Loading branch information
serge-s authored and mdkinney committed Oct 3, 2024
1 parent 84af2d7 commit e3839c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions StdLib/LibC/Softfloat/Softfloat.inf
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@

[BuildOptions]
GCC:*_*_*_CC_FLAGS = -DSOFTFLOAT_FOR_GCC -Wno-enum-compare -fno-tree-vrp -fno-lto
MSFT:*_*_*_CC_FLAGS = -DSOFTFLOAT_FOR_GCC

0 comments on commit e3839c6

Please sign in to comment.