[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using the cross built toolchain
From: |
Shakthi Kannan |
Subject: |
Re: Using the cross built toolchain |
Date: |
Thu, 6 Dec 2007 12:20:34 +0530 |
Hi,
----- On Dec 5, 2007 4:57 AM, Thomas Schwinge <tschwinge@gnu.org> wrote:
| Is explicitly setting `LDFLAGS' really needed?
\--
Or we can add -L/usr/local/hurd/sys_root/lib to LD_LIB_PATH? Without
setting it, it fails at "cannot find /lib/libc.so.0.3".
-----
| Also, setting `CC'
| shouldn't be needed if `i586-pc-gnu-gcc' can be found in `$PATH'.
\--
Yes.
-----
| What I use in such cases is QEMU's facility to create FAT file systems
| on-the-fly: ``qemu [...] -hdc fat:[somewhere]''. The Hurd `fatfs'
| translator is read-only, but for testing executables (etc.) that is
| enough. And it is much easier than loop-mounting the file systems
| images. (Also you don't need `root' rights.)
\--
This is very helpful. Thanks!
SK
--
Shakthi Kannan
http://www.shakthimaan.com