| View previous topic :: View next topic |
| Author |
Message |
jube
Joined: 23 Oct 2007 Posts: 115
|
Posted: Wed Jan 16, 2008 9:36 pm Post subject: What happened to PSP-Insight in the new toolchain script? |
|
|
hi
Was wandering why insight with the psp patch has been effectivly "exited" out of the toolchain script? It seems to build under cygwin just fails at the last make clean statement, seems to run ok though? Wont build at all under Xubuntu, its not a problem, will use another client but was just wandering. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Wed Jan 16, 2008 11:01 pm Post subject: |
|
|
| So, the build returns a failure under Cygwin and doesn't build at all under Xubuntu. That would seem reason enough to skip the build, at least until someone feels like fixing it. |
|
| Back to top |
|
 |
jube
Joined: 23 Oct 2007 Posts: 115
|
Posted: Wed Jan 16, 2008 11:11 pm Post subject: |
|
|
Cool, hence the exit !! :)
Might have a look if have any time ( doubt it ! ) will post if find fault/solution |
|
| Back to top |
|
 |
snowsquirrel
Joined: 24 Feb 2008 Posts: 51
|
Posted: Wed Mar 26, 2008 3:02 am Post subject: |
|
|
it works on debian etch (mepis 7). just remote the 'exit' command from the script.
~S |
|
| Back to top |
|
 |
noxa
Joined: 05 Aug 2006 Posts: 39
|
Posted: Thu Mar 27, 2008 10:27 pm Post subject: |
|
|
| yeah, it'd be nice to have a concentrated effort at cracking these again - there are a lot of unknown user-mode nids |
|
| Back to top |
|
 |
snowsquirrel
Joined: 24 Feb 2008 Posts: 51
|
Posted: Thu Mar 27, 2008 10:37 pm Post subject: |
|
|
I had to install libx-dev to build it, which wasn't listed in the packages to install.
But it shouldn't be hard to get to work. Xubuntu is mostly debian based, so it shouldn't differ than much from my mepis/etch install.
btw - I suggest that all the packages have all the 'make installs' done seperately. Maybe another script which does all the installs at once, i.e, install_toolchain.sh. That way it can be built as a regular user, and the the install can be done as root if necessary.
~S |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sat Mar 29, 2008 5:10 am Post subject: |
|
|
That wouldn't work. Building the toolchain is a process that has to happen in a particular order. You wouldn't be able to build gcc if you haven't already built and installed binutils.
I'll take a look at adding libx-dev to the depends check and see if it helps any. I didn't look into why insight hadn't been compiling back when I wrote the script. |
|
| Back to top |
|
 |
snowsquirrel
Joined: 24 Feb 2008 Posts: 51
|
Posted: Sat Mar 29, 2008 5:36 am Post subject: |
|
|
| Perhaps they could do what I did. Just set PSPDEV to some temporary location. Run build as normal user. Then as root (sudo), copy the temp dir to where the user actually wants it. |
|
| Back to top |
|
 |
Noko
Joined: 06 Sep 2008 Posts: 23
|
Posted: Wed Sep 10, 2008 3:12 am Post subject: |
|
|
I think this might be the reason
| Code: | Andrey:/cygdrive/b/src/psptoolchain/build$ diff insight-6.4/config.sub gdb-6.4/config.sub
258a259
> | mipsallegrex | mipsallegrexel \
337a339
> | mipsallegrex-* | mipsallegrexel-* \
680a683,686
> psp)
> basic_machine=mipsallegrexel-psp
> os=-elf
> ;; |
|
|
| Back to top |
|
 |
|