Path: chuka.playstation.co.uk!news From: "Kenny Millar" Newsgroups: scee.yaroze.freetalk.english Subject: Re: WinXP, SIOCONS & Memory Manager Date: Thu, 23 Oct 2003 15:46:14 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 213 Message-ID: References: NNTP-Posting-Host: cpc3-kirk1-6-0-cust103.renf.cable.ntl.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Andrew, Just how frustrating is this! Since I have 2 machines, and it works on one and not the other I'll keep at it until soemthing gives. The program it is looking for is gcc, not lgcc the "l" is just a token. And that is exactly the results I'm getting on my machine that doesn't work. If I mess with the path statement in djsetup.bat I can get further, by it might actually be one step forward two steps back. I'll keep you informed, so keep an eye on this forum. -Kenny "Andrew Murray" wrote in message news:bn8p28$m4k15@www.netyaroze-europe.com... > Right, doing *exactly* as the instuctions say on my machine gives me the > following when I try to make: > > gcc -Xlinker -Ttext -Xlinker 80140000 main.o -o main > ld: cannot open -lgcc: No such file or directory > strip main > strip: main: No such file or directory > make: *** [main] Error 1 > > I have tried searching for this mysterious program 'lgcc' to no avail. I > have no environment variables set other than the path that is specified in > djsetup.bat. I had previously removed all Yaroze-related environment > variables from windows xp so any trace of the old PSX and GNU setup should > be invisible to the new psx3 setup. > > Tell me if that program works ok kenny and if you discover any nuances. Can > you move the contents of the psx3 folder around, for example, rename it to > GCC2 and put it in another folder on the root of C:, I tried the setup from > C:\Yaroze\GCC2\ and that didn't work. Maybe now that you have it working you > can put it where you like by changing the path in djsetup.bat, although I'm > not sure at all how much the rest of the setup depends on the C:\psx3 path. > You may not even want to risk it, in case it freaks on you. > > Andy. > > > "Kenny Millar" wrote in message > news:bn88qr$m4k14@www.netyaroze-europe.com... > > Andrew, > > > > Right - got it working on my other XP Pro machine. > > I removed all traces of the original setup, including environment > variables > > and eveything. > > > > I then followed the instructions from the top of this thread exactly. > > I put eveything at c:\psx3 despite the fact I hate putting things on my C: > > drive. > > > > make worked first time on my project, only difference I could see was a > > slightly smaller output file and it had .exe as the extension. Just about > to > > dload it to the machine and see if it runs.... > > > > As far as I can see the setup file only sets the windows search path, > which > > on my machine is now > > > path=c:\psx3\mips-unknown-ecoff\bin;c:\psx3\bin;c:\windows\system32;c:\windo > > ws > > > > So now I have one XP Pro machine which will work and one which won't, so I > > will try to figure out what has changed, maybe its something weird like a > > file association or something. > > > > Good luck. > > > > -Kenny > > > > > > "Andrew Murray" wrote in message > > news:bn6lpc$m4k8@www.netyaroze-europe.com... > > > Dammit! > > > > > > Right, i've tried everything I can think of. I have tried to emulate the > > > file structure of the PSX and GNU directories from the original Yaroze > > > distribution and copying the relevant GCC2.8.1 files over in the hope > that > > > the include and lib paths would be set through the djgpp.env file but > > nadda, > > > nothing, diddily-squat. > > > > > > I have also followed the instructions to the letter, i.e. unzip > gcc281.zip > > > to root of C drive and replace djsetup.bat and libsngcc.a with the ones > > from > > > the setup.zip and nothing. > > > > > > The best I can get is that it attempts to actually compile main.c but it > > > spits out tonnes of errors about undefined types because the include > path > > > has not been set, etc...Then it asks for a file called mips-tfile.exe > (or > > > similar, i'm recounting this from memory), says it can't find it. error, > > > choke, splutter, die, etc... > > > > > > James, I don't know how the hell you managed it! Could you step us > through > > > what you did, if it was in any way different from the instructions > given? > > > > > Either it doesn't like WinXP Pro (deduced from the fact James said he > > tried > > > it in Home Edition) or I'm missing something really trivial, like > > forgetting > > > to turn the computer on, or something... > > > > > > Oh well. > > > Andy. > > > > > > "Andrew Murray" wrote in message > > > news:bn6gks$m4k6@www.netyaroze-europe.com... > > > > I'm getting that error now as well. I would have thought that it would > > be > > > > the djgpp.env file that specified the include and lib paths but the > zip > > > > files I downloaded don't seem to have one. I'm going to look again and > > > > generally hack about a bit more. > > > > > > > > Andy. > > > > > > > > "Net Yaroze" wrote in message > > > > news:bn6ekf$m4k5@www.netyaroze-europe.com... > > > > > Rats. > > > > > Still can't get things to compile under XP Pro. > > > > > > > > > > After messing with the path I got rid of the "no such file or > folder" > > > > error, > > > > > but no I get this... > > > > > > > > > > gcc -g -G0 -c main.c -o main.o > > > > > main.c:18: No include path in which to find libps.h > > > > > In file included from main.c:19: > > > > > pad1.h:7: No include path in which to find libps.h > > > > > ... > > > > > and so on. > > > > > > > > > > Where do I specify the include path???????? > > > > > > > > > > -Kenny > > > > > > > > > > > > > > > > > > > > > > > > > "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. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >