Mail Archives: djgpp/1999/07/21/22:10:47
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
- Raw text -