pforth icon indicating copy to clipboard operation
pforth copied to clipboard

How to build the m library?

Open gwankyun opened this issue 2 years ago • 3 comments

# 1. Build pforth executable
add_executable(pforth csrc/pf_main.c)
target_link_libraries(pforth ${PROJECT_NAME}_lib m)

How to compile the m library in MSVC?

gwankyun avatar Jan 04 '23 06:01 gwankyun

The m library is the math library that is included with the tool chain. If you do not have an m library then try not enabling the floating point support.

On Tue, Jan 3, 2023, 20:04 權少 @.***> wrote:

1. Build pforth executableadd_executable(pforth csrc/pf_main.c)target_link_libraries(pforth ${PROJECT_NAME}_lib m)

How to compile the m library?

— Reply to this email directly, view it on GitHub https://github.com/philburk/pforth/issues/141, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHPU2PXE3HXLTE5UDWKMGTWQUHFRANCNFSM6AAAAAATQNMGSU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

philburk avatar Jan 05 '23 00:01 philburk

I see that you were asking about MSVC. I have only been building and testing on Mac and Linux. Clearly I need to provide better support for Windows and MSVC. I will add an Issue to do a windows build.

philburk avatar Jan 08 '23 22:01 philburk

Thank you and look forward to it.

gwankyun avatar Jan 09 '23 16:01 gwankyun