Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Activate MSVC 8 Compiler on Linux
Biplab:
--- Quote from: killerbot on January 02, 2008, 02:22:27 pm ---Will adjust compiler detection so it works on linux and windows but direct in such a way it would fine the wine path ...
--- End quote ---
I would rather not go ahead with it and commit it in trunk. It would create more issues (mostly related to supporting this as a cross-compiler) than it will solve. IMHO, the steps to do this and the corresponding patch may be made available through Wiki so that if anyone is interested, (s)he may try it. :)
Another problem would be to modify the wizards to add Cross-compilation support. None of the wizards are able to generate any project supporting a cross-compiler. We can expect such requests if we add MSVC8 cross-compiler support.
Best regards,
Biplab
ivucica:
--- Quote from: killerbot on January 02, 2008, 12:49:40 pm ---
- don't you need to specify that the executable is "wine blablabla" ?? or does linux automatically run it with wine ?? (haven't tried it yet)
--- End quote ---
Actually, there is support for running programs with userspace wrappers (probably made specifically for Wine and its kind). The kernel detects a non-ELF format, checks its registered formats, finds PE format and then runs using Wine. Or something like that. In any case, you can easily forget about Wine and just launch the program directly with something like:
--- Code: ---$ ./notepad.exe
--- End code ---
So, if kernel support is enabled (it's a kernel option) then you can use it like a regular executable.
darthdespotism:
A strange thing happened.
Today I updated codeblocks (probably the first time after doing this modifications) and libcompiler plugin fails to load. I'll try to get back for now but this realy shouldn't prevent libcompiler to load should it?
Clean build with clean SVN sources still don't give working codeblocks.
Enjo:
Hello all,
I've created a full tutorial on how to activate MSVC 8 on Linux:
http://www.orbiterwiki.org/wiki/Free_Compiler_Setup_Under_Linux
Let me know if anything is missing.
Navigation
[0] Message Index
[*] Previous page
Go to full version