From: Weiqi Gao Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp and Windows NT - headerfile and XXXXXXXX.XXX filename problem Date: Wed, 21 Jul 1999 20:15:30 -0500 Organization: CRL Network Services Lines: 32 Message-ID: <379670B2.765C550C@a.crl.com> References: <37966627 DOT 5BF87288 AT sx2 DOT HRZ DOT Uni-Dortmund DOT DE> NNTP-Posting-Host: a116013.stl1.as.crl.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.36 i586) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Jochen Buchholz Spam User wrote: > > The first thing that I have to say is, I hate Mirco$oftt. OK, I'am an > Unix guru and be dammed to export my, under Unix, very fine running > program to Mirco$oft. My first decision was djgpp, and I installed him > to Windows NT. After testing an Hello World and other simple programs, > I put the sources of my programm to the NT machine to test it also. > But I got always a message that gcc could not find any header files. > Then I tested it at home under my Windows 95 system with djgpp and > everything works fine. Next day I archived my programm executeable > with all ini files and transfer it to th NT workstation. I start it > there and I got an Message that my program cant open an inifile with > name IN_BSP_KAP.TXT - under Windows 95 it has no problems to open > it?!?!?? The second action of the program is, if somehing with the > inifile is wrong, to write an errorfile with name "dd-calc-err.txt", > but under NT it has the name "dd_calc_.txt"!! Whats wrong? I can > generate files like "halihalloblablabla.txt" by hand under NT. Is it > possible that the Win95 executeable want's to have a filenames with > XXXXXXXX.XXX notation under Windows NT? DJGPP on NT does not support long filenames, which means, to make DJGPP (and the 300MB of ported programs) work on NT, they have to be unzipped using a DOS version of PKUNZIP, or similar programs. To make your project compile, your source files should all have 8.3 filenames, and file IO in your program have to be 8.3. The reason this is so, and DJGPP's support for long filenames on Windows 95 and 98 are explained in the DJGPP FAQ. -- Weiqi Gao weiqigao AT a DOT crl DOT com