Editing Free Compiler Setup Under Linux
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | This article explains how to setup a free compiler | + | This article explains how to setup a free compiler under Linux, under assumption, that Orbiter itself can be [http://www.orbiterwiki.org/wiki/Running_Orbiter_under_Wine ran under Linux through Wine] for testing your modules. Latest possible setup that is capable of doing it is [http://www.winehq.org Wine 1.6.2] and [http://www.orbiter-forum.com/download.php ORBITER 2010-P1], using the built-in DX7 graphical client and [http://orbiter-forum.com/showthread.php?t=18431 DX9 client]. The steps presented here have been tested on Debian-stable ("jessie"). |
The concept is based on downloading and running MS VC++ executables, wrapped by [http://www.winehq.org Wine], and fed back to a native multiplatform IDE - [http://www.codeblocks.org/ Code::Blocks]. Thanks to [https://wiki.winehq.org/Winetricks winetricks], it's of course easy to download the VC++ executables, along with its IDE, and run the whole VC's IDE through Wine, but such a setup is unstable. | The concept is based on downloading and running MS VC++ executables, wrapped by [http://www.winehq.org Wine], and fed back to a native multiplatform IDE - [http://www.codeblocks.org/ Code::Blocks]. Thanks to [https://wiki.winehq.org/Winetricks winetricks], it's of course easy to download the VC++ executables, along with its IDE, and run the whole VC's IDE through Wine, but such a setup is unstable. | ||
Line 68: | Line 68: | ||
export WINEPREFIX=$prefix | export WINEPREFIX=$prefix | ||
− | |||
winetricks vc2005express # Deselect every component at installation | winetricks vc2005express # Deselect every component at installation | ||
Line 96: | Line 95: | ||
export WINEPREFIX=`cat $HOME/devel/bin/wineprefix-vc.txt` | export WINEPREFIX=`cat $HOME/devel/bin/wineprefix-vc.txt` | ||
− | wine c:/VC/bin/cl.exe /I"c:/VC/include" /I"c:/psdk/Include | + | wine c:/VC/bin/cl.exe /I"c:/VC/include" /I"c:/psdk/Include" $@ |
</pre> | </pre> | ||
<pre> | <pre> | ||
Line 105: | Line 104: | ||
export WINEPREFIX=`cat $HOME/devel/bin/wineprefix-vc.txt` | export WINEPREFIX=`cat $HOME/devel/bin/wineprefix-vc.txt` | ||
− | wine c:/VC/bin/link.exe /LIBPATH:"c:/VC/lib" /LIBPATH:"c:/psdk/Lib | + | wine c:/VC/bin/link.exe /LIBPATH:"c:/VC/lib" /LIBPATH:"c:/psdk/Lib" $@ |
</pre> | </pre> | ||
<pre> | <pre> | ||
Line 114: | Line 113: | ||
export WINEPREFIX=`cat $HOME/devel/bin/wineprefix-vc.txt` | export WINEPREFIX=`cat $HOME/devel/bin/wineprefix-vc.txt` | ||
− | wine c:/VC/bin/rc.exe /I"c:/VC/include" /I"c:/psdk/Include | + | wine c:/VC/bin/rc.exe /I"c:/VC/include" /I"c:/psdk/Include" $@ |
</pre> | </pre> | ||
Line 135: | Line 134: | ||
* Add some sources and hit The Compile Button(TM) ! | * Add some sources and hit The Compile Button(TM) ! | ||
− | + | [[Category:Tutorials]][[Category:Addon tutorials]] | |
− | [[Category:Tutorials]] | ||
− | [[Category: |