With respect to installing a compiler:
It isn't particularly straightforward... there's a degree of "irreducable complexity" involved.
First thing is to download and install the compiler. Shouldn't be tough.
Then you have to add the compiler's /bin directory to your PATH. Which is probably the bit that loses you, if you're like most people.
The third, simplest, step is to configure D3Edit to use the specific compiler you're using. That's just a matter of selecting the suggested 'virtualgcc' executable where it tells you to.
D3edit and textures questions
- Fusion
- DBB Ace
- Posts: 379
- Joined: Sun Sep 07, 2003 2:01 am
- Location: Valdez System, Underverse; 7 Stars, Azeroth
HUH? in English please? (irreducable- I don't know that word)Sirius wrote:With respect to installing a compiler:
It isn't particularly straightforward... there's a degree of "irreducable complexity" involved.
Sorry Sirius, It starts getting confusing right there.First thing is to download and install the compiler. Shouldn't be tough.
Got that straight. I'm primarily a Mac person, and a noob to Windows.Then you have to add the compiler's /bin directory to your PATH. Which is probably the bit that loses you, if you're like most people.
Easier said than done...expecially when the "virtualgcc" doesn't exist.The third, simplest, step is to configure D3Edit to use the specific compiler you're using. That's just a matter of selecting the suggested 'virtualgcc' executable where it tells you to.
Ok, here is from the SDK Readme:
SDK Readme File wrote: --------------------------------------------------------
Installing and Configuring GCC for Windows
--------------------------------------------------------
Check out http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ for more information on EGCS-1.1.2 GNU GCC for Windows.
To download, go to ftp://ftp.xraylith.wisc.edu/pub/khan/gn ... gcs-1.1.2/
(see the file INSTALL for more thorough directions). Download Egcs-1.1.2-mingw32.zip.
Unzip the file to C:\EGCS-1.1.2\ (preserving the sub-directories). After doing this, edit your PATH to include the C:\EGCS-1.1.2\BIN directory.
Win9X users:
-----------
edit/add to your C:\autoexec.bat
SET PATH=C:\EGCS-1.1.2\BIN;%PATH%
WinNT users:
------------
You'll have to edit the PATH environment variable in your Control Panel->System->Environment tab To include C:\EGCS-1.1.2\BIN in it.
After you do this, all that's left is to reboot. To test the installation, bring up a Command Prompt and type "gcc -v", if it prints out the version of the GCC compiler, then it is installed.
Once it is setup correctly, you can use the Virtual Compiler for GCC. You'll have to configure D3Edit for the virtualgcc Virtual Compiler. To do this, open D3Edit and go into the File menu and select Settings. In here you can set what kind of settings you want for your Virtual Compiler. But you need to choose your Virtual Compiler first. Click on the "..." next to the "Virtual Compiler Path: " edit box, to browse for your Virtual Compiler. Maneuver to the <base-dir>\bin of your D3-SDK installation. Choose the virtualgcc.exe file. You also will need to find your script directory, which will be located in <base-dir>\osiris. That should be all there is to setting up. Look at the documentation/help with D3Edit to see how to create a script and test out the compiler installation.
Can anyone clarify this mumbo-jumbo/technobabble for me?
Fus