Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <61F573D3AC04D311956000A0CC2691C20726D1@ENTERPRISE>
From: Adam Rosenberg <adam.rosenberg@sourceprose.com>
To: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
Cc: "'adam@psionic.mn.org'" <adam@psionic.mn.org>
Subject: #include <stdio.h> didn't work.
Date: Thu, 10 Aug 2000 16:06:31 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"

    Okay, what did I do wrong?  I got the CYGWIN compiler on my
Windows-NT personal computer by downloading SETUP.EXE from a web
page (and I forget which) and it works great and I love it and I
can make my program run with it.  That's good.

    Then I decided to run it on another computer, so I put the
compiler onto a CD (E:) and typed  XCOPY E:\CYGWIN C:\CYGWIN /S
to the prompt of a DOS window.  So far as I know, all of the
subdirectories of C:\CYGWIN are intact on the other computer.
In particular, C:\CYGWIN\USR\INCLUDE\STDIO.H was there.

    I  SET CYGWIN=C:\CYGWIN  and I put C:\CYGWIN\BIN right up
front in the path and then typed  GCC FOO.C  where foo.c has
#include <stdio.h>  as its second line.  Anyhow it complains
that it can't find STDIO.H in FOO.C line 2.

    Does anybody know what I did wrong on the other computer?

Adam N. Rosenberg                    
6751 Rufe Snow Drive, Suite 350      
Watauga, Texas  76148-2331 
    1-817-281-8225 ext. 205
    1-817-281-1512 FAX

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

