mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 06:44:10 +02:00
wasm fixes
This commit is contained in:
parent
22f54c2f12
commit
3cd91832a8
2 changed files with 3 additions and 3 deletions
|
@ -630,7 +630,7 @@ namespace IDE
|
||||||
compilerExePath.Append(@"/upstream/emscripten/emcc.bat");
|
compilerExePath.Append(@"/upstream/emscripten/emcc.bat");
|
||||||
//linkLine.Append(" c:\\Beef\\wasm\\BeefRT.a -s STRICT=1 -s USE_PTHREADS=1 -s ALIASING_FUNCTION_POINTERS=1 -s ASSERTIONS=0 -s DISABLE_EXCEPTION_CATCHING=0 -s DEMANGLE_SUPPORT=0 -s EVAL_CTORS=1 -s WASM=1 -s \"EXPORTED_FUNCTIONS=['_BeefMain','_BeefDone','_pthread_mutexattr_init','_pthread_mutex_init','_emscripten_futex_wake','_calloc','_sbrk']\"");
|
//linkLine.Append(" c:\\Beef\\wasm\\BeefRT.a -s STRICT=1 -s USE_PTHREADS=1 -s ALIASING_FUNCTION_POINTERS=1 -s ASSERTIONS=0 -s DISABLE_EXCEPTION_CATCHING=0 -s DEMANGLE_SUPPORT=0 -s EVAL_CTORS=1 -s WASM=1 -s \"EXPORTED_FUNCTIONS=['_BeefMain','_BeefDone','_pthread_mutexattr_init','_pthread_mutex_init','_emscripten_futex_wake','_calloc','_sbrk']\"");
|
||||||
linkLine.Append(" ", gApp.mInstallDir);
|
linkLine.Append(" ", gApp.mInstallDir);
|
||||||
linkLine.Append("..\\..\\wasm\\BeefRT.a -s STRICT=1 -s USE_PTHREADS=1 -s ASSERTIONS=0 -s DISABLE_EXCEPTION_CATCHING=0 -s DEMANGLE_SUPPORT=0 -s EVAL_CTORS=1 -s WASM=1");
|
linkLine.Append("..\\..\\wasm\\BeefRT.a -s STRICT=1 -s USE_PTHREADS=1 -s ASSERTIONS=0 -s DISABLE_EXCEPTION_CATCHING=0 -s DEMANGLE_SUPPORT=0 -s WASM=1");
|
||||||
|
|
||||||
String workingDir = scope String();
|
String workingDir = scope String();
|
||||||
if (!llvmDir.IsEmpty)
|
if (!llvmDir.IsEmpty)
|
||||||
|
|
|
@ -9662,10 +9662,10 @@ namespace IDE
|
||||||
case .Linux:
|
case .Linux:
|
||||||
newString.AppendF("./{} -lpthread -ldl -Wl,-rpath -Wl,$ORIGIN", rtName);
|
newString.AppendF("./{} -lpthread -ldl -Wl,-rpath -Wl,$ORIGIN", rtName);
|
||||||
case .Wasm:
|
case .Wasm:
|
||||||
newString.Append(mInstallDir);
|
/*newString.Append(mInstallDir);
|
||||||
newString.Append("Beef", IDEApp.sRTVersionStr, "RT");
|
newString.Append("Beef", IDEApp.sRTVersionStr, "RT");
|
||||||
newString.Append((Workspace.PlatformType.GetPtrSizeByName(gApp.mPlatformName) == 4) ? "32" : "64");
|
newString.Append((Workspace.PlatformType.GetPtrSizeByName(gApp.mPlatformName) == 4) ? "32" : "64");
|
||||||
newString.Append("_wasm.lib");
|
newString.Append("_wasm.lib");*/
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue