Configuring C::B for Psy-Q
Posted: August 25th, 2013, 6:36 am
Hi
I need a bit help.
The problem is, that i want ot set up Psy-Q as a compiler set in IDE.
I choose Code::Blocks because it is very flexible and comfortable, for an open source and fast practical IDE.
Specially, when i want to do on VirtualPC, with PSXDEV's WinXP image. I don't think VisualStudio would run as fast on VPC as on my normal desktop but nvm that.
I don't now if you are actually using that IDE but thi isn't important at all.
The problem is, by the commands which are called to build single file, many files or whole project.
I did the set up, added another compiler and named it, then added few EXE files from psyq\bin folder, exactly like here:
[i called ccpsx.exe in cmd to know basic build apps, because in psyq there is NO DOCUMENTATION about what-is-what in bin folder [the compiler main stuff]]
btw i dont really know about PSYLIBD, what is this doing. I suggested by name it is used for dynamic libs i guess so i added it anyway...
As you can see i guess everything is ok [directories for things like headers and libs are added too but there's no need to upload this i guess...] and well configured.
So now, when i'm trying to make an empty project, and choose psyq compiler of course:
And then, build it of course [build options are with Psy-Q compiler]
Erorrs are anyway, when i add custom makefile [from hiworld example, and this is the code of the hiworld anyway] and i think it is needed for every project [but when i make the proper settings i can make template by it, so makefaile will be auto-added to every new one...]
Here I THINK i know the solution [errors says all, arguments are like for g++/gcc]
In build options [but only for a project, not the global one for compiler] there's option to add own command for building, as you can see... and i guess thats the problem, i simply cant make proper setting for building [calling psymake or ccpsx... or i dont know...]. Could somebody help? I'd upload configuration of course.
PS: It'd be really great to make config for Build'n'Run by pasting some command to run ePSXe with -nogui argument and freshly compiled *.EXE file
I need a bit help.
The problem is, that i want ot set up Psy-Q as a compiler set in IDE.
I choose Code::Blocks because it is very flexible and comfortable, for an open source and fast practical IDE.
Specially, when i want to do on VirtualPC, with PSXDEV's WinXP image. I don't think VisualStudio would run as fast on VPC as on my normal desktop but nvm that.
I don't now if you are actually using that IDE but thi isn't important at all.
The problem is, by the commands which are called to build single file, many files or whole project.
I did the set up, added another compiler and named it, then added few EXE files from psyq\bin folder, exactly like here:
[i called ccpsx.exe in cmd to know basic build apps, because in psyq there is NO DOCUMENTATION about what-is-what in bin folder [the compiler main stuff]]
btw i dont really know about PSYLIBD, what is this doing. I suggested by name it is used for dynamic libs i guess so i added it anyway...
As you can see i guess everything is ok [directories for things like headers and libs are added too but there's no need to upload this i guess...] and well configured.
So now, when i'm trying to make an empty project, and choose psyq compiler of course:
And then, build it of course [build options are with Psy-Q compiler]
Erorrs are anyway, when i add custom makefile [from hiworld example, and this is the code of the hiworld anyway] and i think it is needed for every project [but when i make the proper settings i can make template by it, so makefaile will be auto-added to every new one...]
Here I THINK i know the solution [errors says all, arguments are like for g++/gcc]
In build options [but only for a project, not the global one for compiler] there's option to add own command for building, as you can see... and i guess thats the problem, i simply cant make proper setting for building [calling psymake or ccpsx... or i dont know...]. Could somebody help? I'd upload configuration of course.
PS: It'd be really great to make config for Build'n'Run by pasting some command to run ePSXe with -nogui argument and freshly compiled *.EXE file