Re: Can't compile DOS program with long file name

new topic     » goto parent     » topic index » view thread      » older message » newer message

Juergen Luethje wrote:
> 
> Igor Kachan wrote:
> 
> <snip>
> 
> > Hi Rob,
> > 
> > The #2 may lead to restrictions about functionality of EU at all,
> > wait please not just a second here, but 2 seconds at least.
> > The DOS32 EU is the most complete Ephoria - the classic EU, so to say.
> > It deserves to be supported forever, I think.
> > ---
> 
> After thinking more about it, I agree with you and Vincent that people
> who want to compile a Euphoria DOS program should not be forced to use
> Windows in order to do so. So the DOS compiler should be a pure DOS
> program.
> 
> > Hi Juergen,
> > 
> > I think, renameing of an input file for ec.exe is an excellent
> > workaround for this issue, maybe, just document this issue better?
> 
> Yes, I was surprised when I realized the issue, because I hadn't read
> about it in the Euphoria documentation. (Maybe it is not documented?)
> 
> Renaming of an input file _sometimes_ can be a workaround. Sometimes
> this won't help much, because the problem does not only affect the
> program file which we want to compile, but _also included files_, as I
> mentioned previously.
> And I certainly _never_ would consider it "excellent", when I'm forced
> to rename files because of this unnecessary issue.

Ok, it is not *too* excellent, it is just *almost* excellent.
It is just not that bad, I think now.

I know that German language does allow very and very long
combined words, it is just a champion language about long
words, but me myself can not say something like to
'ethyloxyethylparaphenilendiaminsulphate' without 5 breakes
in the middle of this not too long word.   smile 

> Since I always try to write code in include files as generic and
> cross-platform as possible, your suggestion means that I would have to
> rename all my .e library files, so that they only use old DOS 8.3 names.

Yes, if you want these libs to work on pure DOS, you have to
name them as 8.3. The Watcom compiler cares about pure DOS.
This Open Watcom supports 16 bit DOS too.

> Just last week at work, I had to search for some old files (about 10
> years old) on CD, which all had 8.3 DOS names. It was a pain! I am very
> happy that we now can use more characters in order to give the files
> more meaningful names. I don't understand why I deliberately should want
> to do without it.

What to do, it is just that old good time of PC, PC XT, PC AT etc. 

> And it should be easy for Rob to fix it. Just compiling ec.ex with DJGPP
> instead of Watcom probably should do the trick, see:

> <<a href="http://www.listfilter.com/cgi-bin/ ..  see next line
esearch.exu?fromMonth=8&fromYear=A&toMonth=8&toYear=A&postedBy= .. see next line
Juergen+Luethje&keywords=%222005+Aug+17+6%3A17%22"> .. see next line
http://www.listfilter.com/cgi-bin/esearch.exu?fromMonth= .. see next line
8&fromYear=A&toMonth=8&toYear=A&postedBy= .. see next line
Juergen+Luethje&keywords=%222005+Aug+17+6%3A17%22</a>>  .. 

Ok, it is the end of your single word, Juergen ...  smile
I see now what you do like to see ...    smile

> If that would not work, a reliable DOS LFN library from the archieves
> can be used.
> 
> > What to do if these old good DOS file names are just 8.3?
> 
> Sorry, I don't understand what you mean. Can you say it in other words,
> please?

These EU DOS32 programs must to work on pure DOS.
Pure DOS names are 8.3.
Pure DOS doesn't understand long names anyway, so if you want
your program or lib to work on any pure DOS, you must rename long
names as 8.3. Nothing to do anymore.
What to do? Rename files or forget about pure old good DOS!

> 
> Regards,
>    Juergen

Good Luck!    smile

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu