Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <001101c11526$dbb1fce0$3d237ad5@bizzylizzy> From: "Mair" To: References: <034601c11505$0a368710$6d07a8c0 AT miro> <001d01c1151e$aa4b7a80$47a23209 AT fishkill DOT ibm DOT com> <3B5EED45 DOT 2030109 AT ece DOT gatech DOT edu> Subject: Setup problems - windows 98 Date: Wed, 25 Jul 2001 17:28:36 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Some one asked me a couple of days ago " do you know how to compile C programs on emacs" - well, no, I didn't, but after poking around a bit I ended up downloading Cygwin. Because I share the computer I've installed it into "C:/Mair/Cygwin" rather than the default C:/Cygwin. However, I'm having trouble getting it to do anything. It doesn't seem to have set up the defualt paths correctly - in the bash shell, if I call something like gcc or perl, it says command not found. I can get around this by typing in the complete path name each time, but this is hardly satisfactory, especially when the program appears to require something else - for example, I frequently get "cygwin1.dll not fouind". It's there all right. I've tried messing around with the .profile but since I don't really know what I'm doing I don't suppose I did much good. Then I tried putting the .profile through the bash thing line by line, but that didn't help. I've just about made it compile C programs in emacs, after poking the configuration file for that, but they won't execute because they can't find cygwin1.dll. I'm not sure if I've explained the problem very clearly but I'm not very sure what I'm doing here. Can anyone help? Cheers Mair At the moment .profile looks like: PATH="/usr/local/bin:/bin:$PATH" unset DOSDRIVE unset DOSDIR unset TMPDIR unset TMP USER="MairAllenWilliams" # Set up USER's home directory #if [ -z "$HOME" ]; then HOME="C:/Mair/" #fi export HOME USER for i in /etc/profile.d/*.sh ; do if [ -f $i ]; then . $i fi done export MAKE_MODE=unix export PS1='\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' cd "$HOME" test -f ./.bashrc && . ./.bashrc ------- if that helps any. -- 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/