delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/10/17:07:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <61F573D3AC04D311956000A0CC2691C20726D1@ENTERPRISE>
From: Adam Rosenberg <adam DOT rosenberg AT sourceprose DOT com>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Cc: "'adam AT psionic DOT mn DOT org'" <adam AT psionic DOT mn DOT 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)

    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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019