Path: chuka.playstation.co.uk!news From: James Burns Newsgroups: scee.yaroze.freetalk.english Subject: Re: WinXP, SIOCONS & Memory Manager Date: Wed, 22 Oct 2003 16:55:22 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 562 Message-ID: References: NNTP-Posting-Host: m184-mp1.cvx3-a.bre.dial.ntli.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en, en-us In-Reply-To: I've got XP (home edition) and I did as the instructions said and everything compiles as expected. I even used your Makefile to compile George Bain's tutorials and it worked. All I do is run djsetup.bat from the command line and everything is happy. I suggest you remove the installation you have and try again, maybe even redownload the package as it could have been corrupted or some other rubbish reason. I also use xemacs for windows as I don't trust the windows editors to not put in weird characters into the relevant files. Ta, James Andrew Murray wrote: > eh, right... doh. > > Anyway, i get an error from make, complaining it cannot execute cpp.exe: > > gcc -Wall -funsigned-char -c main.c > gcc: installation problem, cannot exec `cpp': No such file or directory > make: *** [main.o] Error 1 > > I have tried the cpp.exe from the latest distribution of DJGPP to no avail, > this time complaining of an 'invalid argument': > > gcc -Wall -funsigned-char -c main.c > gcc: installation problem, cannot exec `cpp': Invalid argument > make: *** [main.o] Error 1 > > I'm beginning to give up and just admit that a Yaroze GNU Development > environment is impossible (for me at least) on windows xp. Has anyone else > been able to get GNU working on XP with the files from Graeme Evans' and > Michael Garcia's sites? > > Andy. > > "James Burns" wrote in message > news:bn1os5$jjc6@www.netyaroze-europe.com... > >>Can I ask a silly question, the .c file is main.c? >>Thats the only time I've know to get that make error message when the .c >>is not the same as what is set as the target value (target = main) >> >>James >> >>Andrew Murray wrote: >> >> >>>Actually, i browsed the net for a bit and found this >>>http://www.cygwin.com/ml/cygwin/1998-10/msg00385.html it says that the >>>missing separator error can be incurred by extra whitespace. After > > 'fixing' > >>>Peter's makefile (which I presume worked with the make distro that came > > with > >>>the Yaroze) I got the same error I'm getting: >>> >>>make: *** No rule to make target `main.o', needed by `main'. Stop. >>> >>>From what I've been reading MAKE version 3.75-B19 isn't exactly >>>bullet-proof. >>> >>>Andy. >>> >>>"Peter Dollochan" wrote in message >>>news:bmvbc9$jjc2@www.netyaroze-europe.com... >>> >>> >>>>CFLAGS = -O2 -Wall >>>>LINKER = -Xlinker -Map -Xlinker mapfile -Xlinker -Ttext -Xlinker > > 80100000 > >>>> >>>>PROG = main >>>>OBJS = main.o pad.o >>>> >>>>all: $(PROG) >>>> >>>> >>>>$(PROG): $(OBJS) >>>>$(CC) $(LINKER) -o $@ $(OBJS) >>>>strip $@ >>>> >>>> >>>> >>>>Thats the makefile I use above try it instead .. nope I haven't used XP >>> >>>but >>> >>> >>>>it'll give you something to try before someone that knows what they are >>>>talking about replies ;-) >>>> >>>>Pete >>>>(honest it isnt so I will know in advance if mine will work when i >>>>eventually install XP ... dont believe me... damn) >>>> >>>> >>>> >>>> >>>>"Andrew Murray" wrote in message >>>>news:bmsh1b$jjc1@www.netyaroze-europe.com... >>>> >>>> >>>>>Heh, yeah I suppose that would help, duh me. >>>>> >>>>>CFLAGS = -Wall >>>>>LINKER = -Xlinker -Ttext -Xlinker 80140000 >>>>> >>>>>PROG = main >>>>>OBJS = main.o >>>>> >>>>>all: $(PROG) >>>>> >>>>>main : $(OBJS) >>>>>$(CC) $(LINKER) $(OBJS) -o $@ >>>>>strip $@ >>>>> >>>>>.c.o: >>>>>$(CC) $(CFLAGS) -funsigned-char -c $< >>>>> >>>>>clean: >>>>>del $(PROG) >>>>>del *.o >>>>> >>>>>Andy. >>>>> >>>>>"Greg Cook" wrote in message >>>>>news:bmnfc0$i9c1@www.netyaroze-europe.com... >>>>> >>>>> >>>>>>Post your make file so that we can look over it :) >>>>>> >>>>>> >>>>>>"Andrew Murray" wrote in message >>>>>>news:bmhfrj$f8j2@www.netyaroze-europe.com... >>>>>> >>>>>> >>>>>>>It actually doesn't have to be C:\PSX3, it can be wherever you want, >>> >>>I >>> >>> >>>>>>think >>>>>> >>>>>> >>>>>>>that was said because in the djsetup.bat batch file which sets up >>> >>>the >>> >>> >>>>>>>environment variables there is reference to C:\psx3, but that can be >>>>>>>changed, and even then WinXP doesn't need a batch file to set >>>>> >>>>>environment >>>>> >>>>> >>>>>>>variables, it can be done from Start | Settings | Control Panel | >>>> >>>>System >>>> >>>> >>>>>| >>>>> >>>>> >>>>>>>Advanced | Environment Variables, then just add variables as you >>> >>>need >>> >>> >>>>>>them. >>>>>> >>>>>> >>>>>>>There should already be a 'PATH' value so just edit it and add the >>> >>>new >>> >>> >>>>>>>paths. Mine (the added paths) are >>>>>> >>>>>>C:\Yaroze\PSX\GCC2\mips-unknown-ecoff\bin >>>>>> >>>>>> >>>>>>>and C:\Yaroze\PSX\GCC2\bin. >>>>>>> >>>>>>>I'm still having trouble with the problem I mentioned previously >>> >>>with >>> >>> >>>>>>>make.exe splurting stuff about 'no rule to make main.o needed by >>>> >>>>main' - >>>> >>>> >>>>>>if >>>>>> >>>>>> >>>>>>>anyone wants to suggest how to fix it??? >>>>>>> >>>>>>>Andy. >>>>>>> >>>>>>>"Greg Cook" wrote in message >>>>>>>news:bmf8uc$f8j1@www.netyaroze-europe.com... >>>>>>> >>>>>>> >>>>>>>>This maybe a very stupid question, but whats the reason we have to >>>>> >>>>>have >>>>> >>>>> >>>>>>>psx3 >>>>>>> >>>>>>> >>>>>>>>as the folder name? Can we not change it or is this something to >>> >>>do >>> >>> >>>>>>with >>>>>> >>>>>> >>>>>>>>the build of the compiler.. >>>>>>>> >>>>>>>>I really dont know much about this stuff, but what do we need to >>> >>>do >>> >>> >>>>to >>>> >>>> >>>>>>>>upgrade the compiler to the latest versions? ( 3.X ) It would be >>>> >>>>good >>>> >>>> >>>>>>to >>>>>> >>>>>> >>>>>>>>keep up todate with the compilers and also be able to define our >>> >>>own >>> >>> >>>>>>>folder >>>>>>> >>>>>>> >>>>>>>>names (aside from psx3).. Can anyone write some kind of process on >>>> >>>>how >>>> >>>> >>>>>>to >>>>>> >>>>>> >>>>>>>do >>>>>>> >>>>>>> >>>>>>>>this.. Id be willing to give it a go if i knew how :) >>>>>>>> >>>>>>>>Either way i will be upgrading to XP shortly so im going to have >>> >>>to >>> >>> >>>>go >>>> >>>> >>>>>>>>through the process of getting my gear ot work properly.. >>>>>>>> >>>>>>>>Cheers >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>"Matt Verran" wrote in message >>>>>>>>news:bm18vt$4t35@www.netyaroze-europe.com... >>>>>>>> >>>>>>>> >>>>>>>>>Aha just found this in a post from 3/4/02 "gcc in XP", hope it >>>>> >>>>>helps: >>>>> >>>>> >>>>>>>>>>>------------------ >>>>>>>>> >>>>>>>>> As far as I know the situation is as follows: All the DOS >>>> >>>>tools >>>> >>>> >>>>>>for >>>>>> >>>>>> >>>>>>>>>manipulating RSD, TIM files etc. work fine in XP. All the DOS >>>>> >>>>>compiler >>>>> >>>>> >>>>>>>>>EXE's do NOT work. Something to do with a GO32 stack problem or >>>>>>>>>something. Anyway here is how to get a working GCC environment >>>> >>>>under >>>> >>>> >>>>>>XP: >>>>>> >>>>>> >>>>>>>>> Go to Graeme Evans site and download the GNU c++ 2.8.1 >>>> >>>>compiler >>>> >>>> >>>>>>>>> http://www.netyaroze-europe.com/~frothy/ftp/gcc281.ZIP >>>>>>>>> >>>>>>>>> Next go to Michael Garcia's site and download his setup file >>>>>>>>> >>>>>>>>> http://www.netyaroze-europe.com/~mgarcia/ftp/setup.zip >>>>>>>>> >>>>>>>>>Unzip GCC281.zip to the root of your drive and you will have a >>>>>> >>>>>>directory >>>>>> >>>>>> >>>>>>>>>named c:\PSX3. Now replace >>>>> >>>>>"C:\psx3\mips-unknown-ecoff\lib\libsngcc.a" >>>>> >>>>> >>>>>>>>>and "c:\psx3\djsetup.bat" with the ones from Michael Garcia's >>> >>>file >>> >>> >>>>>and >>>>> >>>>> >>>>>>>>>you'll be laughing. GCC under XP. The only catch is that >>>> >>>>everything >>>> >>>> >>>>>>must >>>>>> >>>>>> >>>>>>>>>be in the c:\psx3 directory. >>>>>>>>> >>>>>>>>> Enjoy >>>>>>>>> >>>>>>>>> Mark >>>>>>>>> >>>>>>>>>Ps. I don't know what or if there are any differences between >>> >>>the >>> >>> >>>>>>GCC281 >>>>>> >>>>>> >>>>>>>>>compiled EXE's and the ones compiled with the standard tools. >>>>>>>>> >>>>>>>>> >>>>>>>>>>>-------------- >>>>>>>>> >>>>>>>>> >>>>>>>>>"Andrew Murray" wrote in message >>>>>>>>>news:blv5qd$4t34@www.netyaroze-europe.com... >>>>>>>>> >>>>>>>>> >>>>>>>>>>Matt, >>>>>>>>>> >>>>>>>>>>Are you able to run the GNU tools under WinXP. Make.exe in >>>> >>>>gnu\bin >>>> >>>> >>>>>>>gives >>>>>>> >>>>>>> >>>>>>>>>me >>>>>>>>> >>>>>>>>> >>>>>>>>>>a stack fault. I just assume that this has something to do >>> >>>with >>> >>> >>>>>XP. >>>>> >>>>> >>>>>>If >>>>>> >>>>>> >>>>>>>>you >>>>>>>> >>>>>>>> >>>>>>>>>>can't run the GNU tools how do you build your projects? >>>>>>>>>> >>>>>>>>>>Andrew. >>>>>>>>>> >>>>>>>>>>"Matt Verran" wrote in message >>>>>>>>>>news:blu28f$4t32@www.netyaroze-europe.com... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>>I still check here now and again, bit quiet recently tho... >>>>>>>>>>> >>>>>>>>>>>I use minicons on win2k/XP to transfer my files, it's much >>>> >>>>more >>>> >>>> >>>>>>like >>>>>> >>>>>> >>>>>>>>>>siocons >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>>than pscomm: >>>>>>>>>>>http://www.netyaroze-europe.com/~frothy/ >>>>>>>>>>> >>>>>>>>>>>Dataman is a very usefull resource manager and I used it for >>>> >>>>all >>>> >>>> >>>>>>my >>>>>> >>>>>> >>>>>>>>>games: >>>>>>>>> >>>>>>>>> >>>>>>>>>>>http://www.netyaroze-europe.com/~jruss1/ >>>>>>>>>>>Grabauto, from the same page, is usefull at the end of the >>>>> >>>>>project >>>>> >>>>> >>>>>>>to >>>>>>> >>>>>>> >>>>>>>>>pack >>>>>>>>> >>>>>>>>> >>>>>>>>>>>all the data into one file. >>>>>>>>>>> >>>>>>>>>>>I have a bunch of new projects in the pipeline (including a >>>> >>>>new >>>> >>>> >>>>>>>>version >>>>>>>> >>>>>>>> >>>>>>>>>of >>>>>>>>> >>>>>>>>> >>>>>>>>>>>Mario Pac this week) but they are all for PC, rather than >>>>> >>>>>Yaroze. >>>>> >>>>> >>>>>>>>>>>MattV >>>>>>>>>>>www.hermitgames.com >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>"Andrew Murray" wrote in message >>>>>>>>>>>news:blrt3l$4t31@www.netyaroze-europe.com... >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>Anyone still check these newsgroups? >>>>>>>>>>>> >>>>>>>>>>>>I'm looking for a WinXP GNU setup, can anyone get GNU >>>> >>>>projects >>>> >>>> >>>>>>to >>>>>> >>>>>> >>>>>>>>>build >>>>>>>>> >>>>>>>>> >>>>>>>>>>on >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>WinXP? I know about PSCOMM as an alternative to SIOCONS, >>>> >>>>does >>>> >>>> >>>>>it >>>>> >>>>> >>>>>>>>work >>>>>>>> >>>>>>>> >>>>>>>>>>>under >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>XP or only 2000, or is there any difference? >>>>>>>>>>>> >>>>>>>>>>>>Also is there a resource manager out there that can take a >>>>> >>>>>list >>>>> >>>>> >>>>>>>(or >>>>>>> >>>>>>> >>>>>>>>>>>>equivelant) of files and generate a list of defines with >>>>>> >>>>>>addresses >>>>>> >>>>>> >>>>>>>>>>>attatched >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>so I can copy and paste into a project? >>>>>>>>>>>> >>>>>>>>>>>>Anyway hope all is well, any new projects on the horizon? >>>>>> >>>>>>Anybody >>>>>> >>>>>> >>>>>>>>>>checked >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>>>out the xGameStation? (www.xgamestation.com), who needs >>> >>>that >>> >>> >>>>>>when >>>>>> >>>>>> >>>>>>>>you >>>>>>>> >>>>>>>> >>>>>>>>>>have >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>>a >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>>Yaroze? >>>>>>>>>>>> >>>>>>>>>>>>Thanks in advance, >>>>>>>>>>>>Andrew. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>> > >