[fpc-pascal]strange problem

Thomas Schatzl tom_at_work at yline.com
Tue Aug 7 18:37:01 CEST 2001


From: "Andreas K. Foerster" <AKFoerster at nikocity.de>
Subject: [fpc-pascal]strange problem


> Hello,
>
> I have a strange problem with FPC 1.0.4 under Win95B.
>
> I made a very simple program under Linux. Then I wanted to compile it

If it's so simple why don't you post it / make it available here ?

> under Windows, as I always do. It compiled without errors. But I could
> not start it. It always said "Invalid filename", although it doesn't
> work with files at all.

Was an executable actually created in the directory ?

> I tried everything to get it going. And now the very strange thing:

Did you have a look into the application's directory if an executable was
created ?

> when I copy the program into a directory with a DOS-compatible name -
> it works - without recompiling!

It sounds like "the" (well known) problem with the gnu programs (-> FAQ on
the web pages). They do not like whitespaces in the path to the program to
assemble/link. A ppas.bat should have been generated in the directory,
simply put all program/library paths in quotation marks and run it again.
Probably more up to date gnu tools solve this.

> Is it a known bug? Are there already bugfixes?
> P.S.: Did I already mention, that I HATE WINDOWS!!!

P.S.: Thanks for your great opinion based on an abundance of facts. I hope
you do allow us to make up our mind about this issue ourselves =)

Regards,
    Thomas







More information about the fpc-pascal mailing list