Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2000-11

MAKE & FPC/2

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

KO Myung-Hun

Hi/2 all.

I found the strange thing. When FPC lauched by MAKE 3.76.1, FPC do not

regonized 'executable path'. So when launching FPC with -viut and

redirecting to some file, the file report nothing about 'executable path'.

By the way, my configuration file is in the same directory as ppc386.exe. So FPC do not use my configuration file.

If FPC is launched at command prompt, all work correctly.

Besides, if ppc386.cfg is current directory, i.e. source/rtl/os2,

all work correctly, too.

Below is a part of my redirection file caused by FPC lauchec by MAKE.

--------
ppc386.exe -Fi../inc -Fi../i386 -FE. -viut -di38
Compiler: ppc386.exe
Target OS: OS/2 via EMX
Using executable path:
Using unit path: f:\lang\fpc\source\rtl\objpas\
Using unit path: .\
Using include path: f:\lang\fpc\source\rtl\inc\
--------

For better FPC !!!

from KO Myung-Hun...

Reply by email

Unknown author
to KO Myung-Hun
Show quoted text 6 lines
Hi/2 all. I found the strange thing. When FPC lauched by MAKE 3.76.1, FPC do not regonized 'executable path'. So when launching FPC with -viut and redirecting to some file, the file report nothing about 'executable path'.

This is probably a combined result of two things:

1) The configuration file is explicitely disregarded in the makefiles (there's -n option specified). That's what I wrote in my previous message regarding this. So yes, your configuration file is not used.
2) A path to your ppc386.exe cannot be located from your PATH variable due to the current GetEnv limitation to 255 characters.

Tomas

Reply by email

Pierre Muller
to Unknown author

At 15:00 08/11/00 , vous avez écrit:

Show quoted text 12 lines
> Hi/2 all. > > I found the strange thing. When FPC lauched by MAKE 3.76.1, > FPC do not regonized 'executable path'. So when launching FPC with > -viut and redirecting to some file, the file report nothing about > 'executable path'. This is probably a combined result of two things: 1) The configuration file is explicitely disregarded in the makefiles (there's -n option specified). That's what I wrote in my previous message regarding this. So yes, your configuration file is not used.

This is not always true, its only the case if -n option is added to the options passed
to the compiler (this is added with RELEASE is defined or for several other cases,
but it is not always present)

Reply by email