This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CT 0.29 - stuck compiling gcc 4.0 glibc 2.2.5 ppc405: execvp: /bin/sh: Resource temporarily unavailable


I forgot the easiest option: use a shorter path, maybe?
That long commandline is full of options like this:
-B/cygdrive/c/DATA/crosstool-0.29/build/powerpc-405-linux-gnu/gcc-4.0-20050305-glibc-2.2.5/build-gcc/gcc So maybe if you unpack crosstool in /x instead of /cygdrive/c/DATA/crosstool-0.29,
the commandline would be short enough to get you by.

In fact, you could probably just do
  ln -s /cygdrive/c/DATA/crosstool-0.29 /x
  cd /x
and build, no need to move the files.  Other
similar tricks are possible if that's not enough.

The obvious one didn't do the trick:
$ pwd
/x
$ ./demo-ppc405.sh
---- SNIP ----
+ BUILD_DIR=/cygdrive/c/DATA/crosstool-0.29/build/powerpc-405-linux-gnu/gcc-4.0-20050305-glibc-2.2.5

mount /cygdrive/c/DATA/crosstool-0.29 /x
or
mount c:\DATA\crosstool-0.28 /x

Ohhh... That was clever! :-)


What happened to the "mount -X" experiment?
Which mount commands did you try, or did
you get confused and give up?  Last I looked,
he was recommending that you not use '/cygdrive' paths
with mount.
I tried the ones with cygdrive - which failed anyway...
So now I'll try with the "trick" above and with the "mount -X", as well. That should do it!
Today it's been chewing on "/x" alone (I just moved the entire stuff :-/) - and it failed during some "libgcj" with yet another "arg too long" error. So now I hope the mount-part does it...


Combining both ideas is probably the way to go
if the simple mount I gave above doesn't do it.
They didn't - and Christopher cursed me for trying :-) I don't blame him - one should take the time to read carefully - but in this vacation I've been a little to quick...

I'll be back with the outcome - "soon"...

// Martin


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]