Re: compiling euphoria 4.0

new topic     » goto parent     » topic index » view thread      » older message » newer message
Derek Parnell said...
No One said...

Thats my point. revget.ex should be detecting the right value automatically now.

Is there any problem with just creating rev.e every time?

Yes. It means that even if you only change some backend c file, everything has to be retranslated and recompiled. It's better to only call the translator if something in the front end changes. But revget.ex should be called every time no matter what, and it should be making the decision about whether rev.e needs to be updated. If the timestamp on rev.e is newer than the binaries, it will trigger a new translation, even if the contents are identical.

This works correctly using the GNU makefile. It does not under watcom because none of the targets rely upon the svn_rev target. It should probably be added to the builddirs target, which they all pretty much rely on. That way it will be called, and the updating will occur correctly.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu