Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Can I use Tcc to compile ruby c extension?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Shin guey Wong, post: 4608300"] I want to use a small compiler to compile some simple c code. I tried with tcc but I get some error that it cannot detect my ruby library: I try to generate an extension for ruby which compiles using mingw gcc. When I compile it with tcc here is the error message: C:\tcc>make tcc -shared -o mytest.so MyTest.o -L"." -L"C:/Devel/installer3/sandbox/ruby_mingw/lib" -L. -Wl -lmsvcrt-ruby18 -lws2_32 tcc: cannot find -lmsvcrt-ruby18 make: *** [mytest.so] Error 1 I check the path : "C:/Devel/installer3/sandbox/ruby_mingw/lib And I definitely has the libmsvcrt-ruby18.dll.a file inside that folder. So, may be that is not possible to link a library file generate by gcc in tcc? My working platform is winxp. So, did anyone had been successful to use Tcc to compile extension for ruby before? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Can I use Tcc to compile ruby c extension?
Top