Thanks a lot. I put the /usr/X11R6/bin into my .bash_profile and eamcs and gvim both work. I found that this is caused by ModelSim. There is a libSM.dll in modelSim. So as long as I put /usr/X11R6/bin before modelsim, my X11 apps will function well. Thanks again. Haibing --- Joe Buehler <jbuehler@hekimian.com> wrote: > Haibing Ma wrote: >> > My libSM.dll is at /usr/X11R6/bin/libSM.dll, and it has the symbol > in > > it. Should the dll sit in /usr/X11R6/lib, not /usr/X11R6/bin? > > > > My /usr/X11R6/lib has not dlls, but .a files. >> You are correct, I misspoke. In that case, you probably need to add > /usr/X11R6/bin to your PATH so emacs can find the dll. > -- > Joe Buehler >>>> -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/