delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/27/05:13:09

From: "mborden AT pop DOT ma DOT ultranet DOT com" <mborden AT pop DOT ma DOT ultranet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: long directory names
Date: Thu, 27 Mar 1997 00:51:07 -0500
Organization: UltraNet Communications, Inc.
Lines: 23
Message-ID: <333A0ACB.619A@pop.ma.ultranet.com>
Reply-To: mborden AT pop DOT ma DOT ultranet DOT com
NNTP-Posting-Host: d1.dial-1.ltn.ma.ultra.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm running the current versions of the tools and see that
if there is a long name directory in the path of the executable
then it just exits.  I saw nothing about this in the FAQ.
Is this well-known or do I have something wrong in my installation?

I am using the MKS shell.

Curiously, if I run the program under the debugger, it runs fine!

#include <stdio.h>
main() {  printf("this is foo\n");  }

wo|c:ntb: pwd
c:/_projects/marin/sta/engine/ntb
wo|c:ntb: ./foo.exe
wo|c:ntb:    ### no output

wo|c:ntb: cd /
wo|c:: mv _projects _proj
wo|c:: cd _proj/marin/sta/engine/ntb
./_proj/marin/sta/engine/ntb
wo|c:ntb: ./foo.exe
this is foo

- Raw text -


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