Forum Discussion
Problem configuring kernel.
I've got the same problem (I posted a question about it in the new ucLinux forum before noticing this thread). I am not sure why /usr/lib is only half-visible. For example, doing "ls /usr" shows no sign of it, but if you type "ls /usr/li" and press tab, bash's file completion fills in /usr/lib. The /usr/lib and /usr/lib directories are somewhat special in cygwin - they do not exist directly under the /cygwin/usr directory, but rather as /cygwin/bin and /cygwin/lib. These are then mounted onto the /usr/bin and /usr/lib directories within the cygwin directory tree. I have no idea why they do it this way, but it's the case in "normal" cygwin as well, not just the Quartus cygwin stuff. You can see the effect by typing "mount". I also have a "normal" cygwin installation on my pc, and it is setup the same way - the only difference being that /usr/lib works fine.
There is, however, at least one other convenient place to put libraries such as crt0.o - in /usr/local/lib, which is a perfectly normal directory. My solution (tried ten minutes ago, after reading this thread) was to use: ln -s /cygdrive/d/Altera4/quartus/bin/cygwin/usr/lib/crt0.o /usr/local/lib/crt0.o ln -s /cygdrive/d/Altera4/quartus/bin/cygwin/usr/lib/libcygwin.a /usr/local/lib/libcygwin.a The result of these is to put symbolic links in the /usr/local/lib directory of the relevant libraries from their "true" place on the disk (obviously you'll want to modify the paths for your installation directories). Being symbolic links rather than copies means that any updates to these files will automatically reflect on the linked versions. Now my "make menuconfig" works fine, and I can try the rest of the build... mvh., David Brown Norway.