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


But then, after doing so, running CT (and possible some other apps.), I
got an error-dialog on the screen that cygwin1.dll could [not] be found in
the path. Although "/bin" was in the path, I then had to add
"/cygdrive/c/cygwin/bin" to the path, then it worked...

$ mount c:\cygwin\opt\crosstool on /opt/crosstool type system (binmode,cygexec) C:\cygwin\lib on /usr/lib type system (textmode) c:\cygwin\bin on /bin type system (binmode,cygexec) c:\cygwin\bin on /usr/bin type system (binmode,cygexec) c:\cygwin\x on /x type system (binmode,cygexec) C:\cygwin on / type system (textmode) c: on /cygdrive/c type system (textmode,noumount)

But again I get the error message "Could not find cygwin1.dll in path: ..." whenever I try to execute a binary ".exe" in either of the two newly mounted directories.

What's your PATH set to ?
Ditto.
Echo...

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINNT/system32:
/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:
/cygdrive/c/PROGRA~1/MSOffice/Office:
/cygdrive/c/Program Files/Common Files/Adaptec Shared/System:
/cygdrive/c/Pcnet/D_Prg:/cygdrive/c/opt/multidesk/shortcuts

$ ls /bin/cygwin1.dll
/bin/cygwin1.dll

But when I get the error dialog, none of the four "cygwin"-paths are in the suggested paths searched - only the remainder ones...

Maybe, just maybe :-), this may be because some of the binaries were build back when the "mount -X" directoties weren't added?!
Naaaaah...
Ditto. -X has nothing to do with building a binary.
Well, it was a long shot!

// 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]