Sign in Join

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

Mailing lists / fpc-devel / 2014-03

Managing multiple versions

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Mark Morgan Lloyd

When building/installing multiple versions of the compiler and libraries on unix (Linux/Solaris), is there an easy way of putting the fpc utility etc. in a version-specific directory (e.g. /usr/local/bin/fpc-x.y.z) but keeping the backend in the usual /usr/local/lib/fpc/x.y.z tree?

In part this leads on from a discussion in the Lazarus ML in early February where the -V option was highlighted. However the specific reason I ask is that a few months ago I was playing with the help generation utilities to see if I could extract what version of the compiler first supported given features, and found various problems which I put down to trying to handle older files with newer utilities. I'm currently rebuilding one of my development systems and thought this would be a good time to experiment with alternative layouts.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Marco van de Voort
to Mark Morgan Lloyd

In our previous episode, Mark Morgan Lloyd said:

Show quoted text 9 lines
In part this leads on from a discussion in the Lazarus ML in early February where the -V option was highlighted. However the specific reason I ask is that a few months ago I was playing with the help generation utilities to see if I could extract what version of the compiler first supported given features, and found various problems which I put down to trying to handle older files with newer utilities. I'm currently rebuilding one of my development systems and thought this would be a good time to experiment with alternative layouts.

Setting INSTALL_BINDIR maybe?

Reply by email

Mark Morgan Lloyd
to Marco van de Voort
Marco van de Voort wrote 11 lines
In our previous episode, Mark Morgan Lloyd said: > In part this leads on from a discussion in the Lazarus ML in early > February where the -V option was highlighted. However the specific > reason I ask is that a few months ago I was playing with the help > generation utilities to see if I could extract what version of the > compiler first supported given features, and found various problems > which I put down to trying to handle older files with newer utilities. > I'm currently rebuilding one of my development systems and thought this > would be a good time to experiment with alternative layouts. Setting INSTALL_BINDIR maybe?

Thanks, I'll check and report back when I've got time.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Mark Morgan Lloyd
to Mark Morgan Lloyd
Show quoted text 7 lines
> When building/installing multiple versions of the compiler and > libraries on unix (Linux/Solaris), is there an easy way of putting > the fpc utility etc. in a version-specific directory (e.g. > /usr/local/bin/fpc-x.y.z) but keeping the backend in the usual > /usr/local/lib/fpc/x.y.z tree? Setting INSTALL_BINDIR maybe?

That works, so with minimal symlinks I've got

/usr/local/bin/fpc/x.y.z
/usr/local/lib/fpc/x.y.z
/usr/local/src/fpc/x.y.z

I don't see any reference to installation options in the Programmer's Guide, or in the build (is this the most recent?).

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email