request for some path advice

Lester Ingber ingber@ingber.com
Mon Mar 29 10:10:00 GMT 2004


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/



More information about the Cygwin mailing list