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] |
On Sat, Oct 25, 2003 at 09:15:46AM -0700, Dan Kegel wrote: > Marc Kleine-Budde wrote: > >On Wed, Oct 22, 2003 at 07:47:56PM +0530, Manoj Verma, Noida wrote: > > > >>I have completed insatlling the GLIBC with some hacking. > >>I also completed building the final GCC. > >> > >>But while compiling a sample file, sample.c I am getting the following > >>error: > >> > >>c:\MinGW\msys\home\manojv\cinstall_arm\bin\..\lib\gcc-lib\arm-linux\3.2.2\.. > >>\..\..\..\arm-linux\bin\ld.exe: cannot find /lib/libc.so.6 ... > > > >Look at the c:/MinGW/msys/home/manojv/cinstall_arm/arm-linux/lib/libc.so > >it is a text file, remove the absoloute path from the GROUP statement. > >On my Linux Host it looks like this: > > > >----------------------------------------- > >GROUP ( libc.so.6 libc_nonshared.a ) > >----------------------------------------- > > Indeed. That's one of the things > http://kegel.com/crosstool/current/crosstool.sh > does. Manoj, you might want to compare your build script against > crosstool.sh to see if any of the other complicated, messy little bits > in crosstool.sh might need to be carried over to your script. > > Anyone know how to coax glibc into generating a libc.so without the > absolute paths in the first place? No, but if you use --with-sysroot for binutils, then it will prefix the sysroot in front of the absolute paths. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer ------ 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] |