Sign in Join

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

Mailing lists / fpc-pascal / 2006-07

fpcmake questions

5 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Darius Blaszijk

I have two questions regarding FPCMake.

1. Whe I do an FPCMake I get the following error;

Processing Makefile.fpc
Error: Target "win32", package "rtl" not found

What is causing this error, what does it mean?

2. I'm using the LCL in my application and I need to enter it as a unitdir for the compiler. The problem is however that if anyone else wants to use the makefile he needs to modify this path and run FPCmake again. Is there a way to get around this? Can I use a config file with these paths for example? Or is it possible to use a environment variable?

Darius

Reply by email

Graeme Geldenhuys
to Darius Blaszijk

Hi Darius,

I had the same issue ... Is my emails on the 9th July in FPC-Devel mailing list. Titled "fpcmake keeps failing".

I had the FPCDIR set wrong... It must point to the fpc source directory and not the fpc root directory..

export FPC=/opt/fpc-2.1.1/bin/ppc386
export FPCDIR=/opt/fpc-2.1.1/src

Regards,
Graeme.

Darius Blaszijk wrote 24 lines
I have two questions regarding FPCMake. 1. Whe I do an FPCMake I get the following error; Processing Makefile.fpc Error: Target "win32", package "rtl" not found What is causing this error, what does it mean? 2. I'm using the LCL in my application and I need to enter it as a unitdir for the compiler. The problem is however that if anyone else wants to use the makefile he needs to modify this path and run FPCmake again. Is there a way to get around this? Can I use a config file with these paths for example? Or is it possible to use a environment variable? Darius _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
There's no place like 127.0.0.1

Reply by email

Darius Blaszijk
to Graeme Geldenhuys

Thanks, Graeme. That did the trick

Darius

Earlier message 58 lines
----- Original Message ----- From: "Graeme Geldenhuys" To: "FPC-Pascal users discussions" Sent: Friday, July 28, 2006 9:45 AM Subject: Re: [fpc-pascal] fpcmake questions > Hi Darius, > > I had the same issue ... Is my emails on the 9th July in FPC-Devel > mailing list. Titled "fpcmake keeps failing". > > I had the FPCDIR set wrong... It must point to the fpc source > directory and not the fpc root directory.. > > export FPC=/opt/fpc-2.1.1/bin/ppc386 > export FPCDIR=/opt/fpc-2.1.1/src > > > Regards, > Graeme. > > > > On 7/28/06, Darius Blaszijk wrote: >> >> >> >> I have two questions regarding FPCMake. >> >> 1. Whe I do an FPCMake I get the following error; >> >> Processing Makefile.fpc >> Error: Target "win32", package "rtl" not found >> >> What is causing this error, what does it mean? >> >> 2. I'm using the LCL in my application and I need to enter it as a >> unitdir >> for the compiler. The problem is however that if anyone else wants to use >> the makefile he needs to modify this path and run FPCmake again. Is there >> a >> way to get around this? Can I use a config file with these paths for >> example? Or is it possible to use a environment variable? >> >> Darius >> _______________________________________________ >> fpc-pascal maillist - >> http://lists.freepascal.org/mailman/listinfo/fpc-pascal >> >> > > > -- > There's no place like 127.0.0.1 > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Darius Blaszijk
to Darius Blaszijk: I have two questions regarding FPCMake. 1. Whe I do an FPCMake I get the following error;…

Is there somewhere a description on how to use environment variables in FPCMake? I've been searching the programmers manual, but no success. Also is it possible to use a config file to declare some variables?

Darius

Earlier message 31 lines
----- Original Message ----- From: "Darius Blaszijk" To: "FPC-Pascal users discussions" Sent: Friday, July 28, 2006 9:24 AM Subject: [fpc-pascal] fpcmake questions I have two questions regarding FPCMake. 1. Whe I do an FPCMake I get the following error; Processing Makefile.fpc Error: Target "win32", package "rtl" not found What is causing this error, what does it mean? 2. I'm using the LCL in my application and I need to enter it as a unitdir for the compiler. The problem is however that if anyone else wants to use the makefile he needs to modify this path and run FPCmake again. Is there a way to get around this? Can I use a config file with these paths for example? Or is it possible to use a environment variable? Darius -------------------------------------------------------------------------------- > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Graeme Geldenhuys
to Darius Blaszijk

I only went with what I found in the FPC documentation. I am very new to FPCMake as well.

Regards,
Graeme.

Darius Blaszijk wrote 5 lines
Is there somewhere a description on how to use environment variables in FPCMake? I've been searching the programmers manual, but no success. Also is it possible to use a config file to declare some variables? Darius
There's no place like 127.0.0.1

Reply by email