Hello
I'm a newbie ans i think my question will be stupid for you but please answer me :wink:
I don't have linux so i downloaded compiler for windows.
I tried to compile the hello sample from the ps2sdk.
But when i try to compile the makefile is wrong (it is made for linux)
I tried to replace all the '/' by '\' but ee-gcc tells me that :
The command line executed is the following :
ee-gcc -nostartfiles -TC:\ps2dev\sdk\ee\startup\linkfile
-LC:\ps2dev\sdk\ee\lib -o hello.elf C:\ps2dev\sdk\ee\startup\crt0.o hello.o -lc -lkernel -lsyscall -lc
And the result is :
ee-gcc : C:ps2devsdkeestartupcrt0.o : No such file or directory
All lib and include directories are OK but i don't understand why the compiler remove all the '\' in the path.
Do you have an idea ?
Thanks a lot
To compile under Windows
Finally i installed Cygwin but i still have a problem.
I still want to compile the hello example from the ps2sdk library.
When compiling, it doesn't find sio.h but the file is in the include directory which is in -I option.
When i comment in the code #include <sio.h> and the call to this library, i have the same problem with crt0.o
Could you help me please ???
I still want to compile the hello example from the ps2sdk library.
When compiling, it doesn't find sio.h but the file is in the include directory which is in -I option.
When i comment in the code #include <sio.h> and the call to this library, i have the same problem with crt0.o
Could you help me please ???
We need more info on what you are doing. Please post the makefiles and what your environment variables are. Most of the PS2 stuff uses an environment variable for the path to the ps2dev directory. If it is not set, or set incorrectly, the paths used by the makefile won't be correct and it won't find what it's looking for.
Historically there are many other things that use environment variables too. PS2LIB, PS2SDK, LIBHDD, GSLIB, LIBCDVD, PS2IP, PS2ETH, PS2DRV.... the list goes on and on :(J.F. wrote:We need more info on what you are doing. Please post the makefiles and what your environment variables are. Most of the PS2 stuff uses an environment variable for the path to the ps2dev directory. If it is not set, or set incorrectly, the paths used by the makefile won't be correct and it won't find what it's looking for.
Fortunately most of these are rendered obsolete now that PS2SDK is around. The only problem is, a lot of things are still using the old environment and haven't yet been brought up to PS2SDK.
Shoot Pixels Not People!
Makeshift Development
Makeshift Development