Raised This Month: $ Target: $400
 0% 

Spider - A Replacement Webcompiler


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 08-19-2014 , 13:05   Re: Spider - A Replacement Webcompiler
Reply With Quote #1

Can you tell me how did you compiled the AMXX compiler with emscripten? I spent a few hours trying but nothing worked...
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-19-2014 , 13:15   Re: Spider - A Replacement Webcompiler
Reply With Quote #2

Quote:
Originally Posted by Neeeeeeeeeel.- View Post
Can you tell me how did you compiled the AMXX compiler with emscripten? I spent a few hours trying but nothing worked...
https://github.com/alliedmodders/amxmodx/pull/115 + https://github.com/alliedmodders/amxmodx/pull/117

Code:
emcc -O3 --closure 0 -s AGGRESSIVE_VARIABLE_ELIMINATION=1 -s FORCE_ALIGNED_MEMORY=1 --llvm-lto 1 -DNDEBUG -DHAVE_SAFESTR -fno-strict-aliasing -I amxxpc -I libpc300 -D_GNU_SOURCE -Wall -DLINUX -D__linux__ -DHAVE_STDINT_H -DAMX_ANSIONLY -DNO_MAIN -DPAWNC_DLL -m32 -fno-rtti libpc300/libpawnc.c libpc300/sc1.c libpc300/sc2.c libpc300/sc3.c libpc300/sc4.c libpc300/sc5.c libpc300/sc6.c libpc300/sc7.c libpc300/sci18n.c libpc300/sclist.c libpc300/scmemfil.c libpc300/scexpand.c libpc300/scstate.c libpc300/scvars.c libpc300/prefix.c libpc300/memfile.c amxxpc/amx.cpp amxxpc/amxxpc.cpp amxxpc/Binary.cpp amxxpc/zlib/adler32.c amxxpc/zlib/compress.c amxxpc/zlib/crc32.c amxxpc/zlib/deflate.c amxxpc/zlib/gzio.c amxxpc/zlib/infback.c amxxpc/zlib/inffast.c amxxpc/zlib/inflate.c amxxpc/zlib/inftrees.c amxxpc/zlib/trees.c amxxpc/zlib/uncompr.c amxxpc/zlib/zutil.c -o amxxpc.js --preload-file ../plugins/include/@include/ -Wno-format -Wno-parentheses -Wno-unused -Wno-sometimes-uninitialized -funroll-loops -D SVN_VERSION='"1.8.3-manual"'
Quote:
Originally Posted by Phant View Post
Very interesting. Need Dark theme for it .
Great idea, I'll toss it on the roadmap. Not sure where I'll put the option for it currently though
__________________

Last edited by asherkin; 08-19-2014 at 13:23.
asherkin is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode