Sign in Join

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

Mailing lists / fpc-pascal / 2014-01

Include trunk fpcres location in fpc.cfg paths?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Reinier Olislagers

Hi list,

I'm trying to get fpcup to natively compile FPC trunk+Lazarus on ARMHF and finally getting somewhere....

In the Lazarus part however I get
lazbuild.lpr(1689) Error: resource compiler "fpcres" not found, switching to external mode

fpcres (and fpcjres) is not in the FPC bin directory, but in $(fpcdir)/utils/fpcres/bin/$(fpctarget)

Would it be a good idea to let fpcmkcfg add an -e or -FD line to fpc.cfg automatically to make sure the right fpcres can be found?

Thanks,
Reinier

Reply by email

Jonas Maebe
to Reinier Olislagers
Reinier Olislagers wrote 13 lines
I'm trying to get fpcup to natively compile FPC trunk+Lazarus on ARMHF and finally getting somewhere.... In the Lazarus part however I get lazbuild.lpr(1689) Error: resource compiler "fpcres" not found, switching to external mode fpcres (and fpcjres) is not in the FPC bin directory, but in $(fpcdir)/utils/fpcres/bin/$(fpctarget) Would it be a good idea to let fpcmkcfg add an -e or -FD line to fpc.cfg automatically to make sure the right fpcres can be found?

If make install doesn't put them in the plain "bin" directory, then it's a bug in the fpmake file for those directories (or in fpmkunit in general).

Jonas

Reply by email

Reinier Olislagers
to Jonas Maebe
Jonas Maebe wrote 9 lines
On 23 Jan 2014, at 15:09, Reinier Olislagers wrote: > fpcres (and fpcjres) is not in the FPC bin directory, but in > $(fpcdir)/utils/fpcres/bin/$(fpctarget) > > Would it be a good idea to let fpcmkcfg add an -e or -FD line to fpc.cfg > automatically to make sure the right fpcres can be found? If make install doesn't put them in the plain "bin" directory, then it's a bug in the fpmake file for those directories (or in fpmkunit in general).

Thanks!

Mmm yes, it does put it in plain bin (which I hadn't noticed as I didn't let locate's updatedb update)
Added the plain bin path to fpcup's PATHs and all is well.

Thanks again.

Reply by email