raul - 2006-01-25 5:31 AM
ShadowMaster - 2006-01-16 5:55 AM
you can expand the "pgcc" folder anywhere. but if you put it in a placer other than \pgcc then you'll need to modify the sample batch files.
I'm trying to get it to work form Storage Card. I added \Storage Card before \pgcc in batch files but when i try to compile I have error that there is no such file Storage - it seems that "space" in the name of volume is a problem. I thought I read that you somehow manage to get it to work on the Storage Card. 14 mb of ram is a lot of space wasted.
Thanks in advance.
Kind regards,
Raul
PS. I tried %20 as space but it don't work.
I think you can solve it with quotes ... "\Storage Card\WHATEVER", but I've not tested.
I use the batch files in the following way...
I add to the PATH variable the pgcc binaries directory, like this:
pgcc_set.bat
@echo off
@set pgccbase=\Storage Card\pgcc
@path %path%;%pgccbase%\bin
I store the gcc path in a variable since I use the path in other batch files.
Let's say you want to build the "hello" example that resides in \Storage Card\pgcc\samp\hello...
you modify the \Storage Card\pgcc\samp\hello\hello.bat file so it reads:
hello.bat
gcc ..\samp\hello.cpp -target=con -o hello.exe -Wl,-s
then you open a console, execute the pgcc_set batch file... then go to the samp\hello directory and execute the hello.bat file.
Is not the best way anyways but for testing purposes that's what I've made.
I usually compile in the bin directory since I've only built one-file console apps.
If I figure out a way to setup a nice compiling environment for make tools I'll tell u.