delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/28/20:33:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 28 Mar 2004 17:33:29 -0800
From: Lester Ingber <ingber AT ingber DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: request for some path advice
Message-ID: <20040329013329.GA1504@ingber.com>
Reply-To: Lester Ingber <ingber AT ingber DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.4.1i

Sorry about the last email.  I seem to have gotten the paths working OK.

Lester

      +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
I have a C project that I can compile and run fine using gcc, with
or without -mno-cygwin.  I have the I/O files in another directory,
with the relative paths named in some .c files.

When I use the -mno-cygwin option, I see I cannot use soft links for
any IO directories, but I also cannot use the executable in another
directory with the same relative path to the IO directory?

So, under a ${PROJECT_PATH}/ I have
SRC/ IO/ RUN/
Let's say I compile the code under SRC/.
If I put the executable under RUN I get an access violation -- only
under -mno-cygwin.  If I keep the executable unde SRC/, it works OK.

Is there any way of declaring my paths in my .c files to avoid these problems?

Thanks.

Lester


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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