Re: [fpc-devel] problem compiling compiler

2019-08-21 Thread Marģers . via fpc-devel
 

> make info PP=/home/user/fpc304/lib/fpc/3.0.4/ppcx64

> If the compiler is found, it should be reported
as the first line printed after == Configuration
info ==

== Configuration info ==

FPC.. /home/user/fpc304/lib/fpc/3.0.4/ppcx64

"make info" shows correct location of starting
compiler, but during actual compilation makefile
is unable locate it.
i can successfully compile 3.0.4, but unable to
compile 3.3.1 ( few month ago i was able do so ).

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] problem compiling compiler

2019-08-21 Thread Christo Crause
On Wed, Aug 21, 2019 at 4:07 PM Marģers . via fpc-devel <
fpc-devel@lists.freepascal.org> wrote:

> Hi,
>  i used simple script for compiling compiler
>
> export PP=/home/user/fpc304/lib/fpc/3.0.4/ppcx64
> make singlezipinstall OS_TARGET=linux
> CPU_TARGET=x86_64OPT="
> -Fu/home/user/fpc304/lib/fpc/3.0.4/units/x86_64-linux/rtl/"
>
> Reason of "export PP="  is that i don't have
> installed fpc, so i have to specify path where to
> find it.
> Script was fine some time ago, but now it can not
> find compiler:
>
> Makefile:135: *** Compiler
> /home/user/where/is/my/copy/of/fpc/compiler/ppcx64
> not found.  Stop.
>
>
> Can i improve my script to actually work or is it
> some sort of makefile bug?
>

The error message does not agree with your exported value of PP, so
something else is messing up. An alternative to the export command is to
specify the path to the compiler as a parameter to make, similar to the
rest of the parameters you pass to make.  To troubleshoot use the info
command for make to see how the various variables are configured:

make info PP=/home/user/fpc304/lib/fpc/3.0.4/ppcx64

If the compiler is found, it should be reported as the first line printed
after == Configuration info ==
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] problem compiling compiler

2019-08-21 Thread Marģers . via fpc-devel
Hi,
 i used simple script for compiling compiler

export PP=/home/user/fpc304/lib/fpc/3.0.4/ppcx64
make singlezipinstall OS_TARGET=linux
CPU_TARGET=x86_64    OPT=" 
-Fu/home/user/fpc304/lib/fpc/3.0.4/units/x86_64-linux/rtl/"

Reason of "export PP="  is that i don't have
installed fpc, so i have to specify path where to
find it.
Script was fine some time ago, but now it can not
find compiler: 

Makefile:135: *** Compiler
/home/user/where/is/my/copy/of/fpc/compiler/ppcx64
not found.  Stop.


Can i improve my script to actually work or is it
some sort of makefile bug?

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel