Sign in Join

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

Mailing lists / fpc-pascal / 2002-11

Timezones

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Brad Campbell

G'day all,

I'm using the latest CVS compiler and RTL.
In rtl/unix/timezone.inc we are only parsing a timezone file, and not looking at the TZ environment variable if it exists.

I'm using some pascal programs in an embeded system with busybox and uClibc, neither of which understand timezone files and can only cope with the TZ variable.

If there is no other way, I will add TZ handling to the RTL. Do we have a way of parsing the TZ variable?

PS. I worked around my make cycle problem by doing cd compiler && make cycle && cd ../rtl && make clean && make OPT=-CX

Which allows the compiler to cycle and then builds me a smart-linkable rtl.

Should I need to do this?
I used to just have -CX in my fpc.cfg file and it would build fine.

Brad.... /"\ Save the Forests \ / ASCII RIBBON CAMPAIGN Burn a Greenie. X AGAINST HTML MAIL / \
Jonas Maebe
to Brad Campbell
Brad Campbell wrote 6 lines
PS. I worked around my make cycle problem by doing cd compiler && make cycle && cd ../rtl && make clean && make OPT=-CX Which allows the compiler to cycle and then builds me a smart-linkable rtl.

You should be able to use

make cycle OPT="-CX"

I don't know about the timezone problem.

Jonas

Brad Campbell
to Jonas Maebe
Jonas Maebe wrote 7 lines
> > Which allows the compiler to cycle and then builds me a smart-linkable > rtl. You should be able to use make cycle OPT="-CX"

I can now, after building a new compiler without smartlinking. The compiler I was using, dated 2002/7/24 would not cycle a new compiler with smartlinking enabled. After cycling with smartlinking turned off and updating my compiler from that, it will now make cycle.

Obviously a bug in the older compiler.

Brad.... /"\ Save the Forests \ / ASCII RIBBON CAMPAIGN Burn a Greenie. X AGAINST HTML MAIL / \