Archaic wrote:

On Tue, May 31, 2005 at 05:22:46PM -0500, Randy McMurchy wrote:
If Flex is required to build itself, then it probably should be
put back into the book in Chapter 5. I'm cc'ing the -dev list with
this message, so the dev guys can determine if it really needs to
be added back.

I'm going to run a trunk build tonight with flex removed and see what
happens. This is a known solid host so any error should denote a
problem.

Here is what I think is happening:
after the patch if we:

ls -la --time-style=full-iso scan.*
---
-rw-r--r--  1 dave users 136584 2005-06-01 18:44:55.000000000 scan.c
-rw-r--r--  1 dave users  21045 2005-06-01 18:44:55.000000000 scan.l
---
the resolution of the timestamp is insufficient to trigger the scan.c rebuild if scan.l is written during the same rtc second as scan.c. Actually we want scan.c regenerated as we have patched scan.l. But it's luck of the draw if the timestamps differ, and we have no flex at that point anyway. I think we must:
touch -t 0303311951 scan.l
make
make install
touch scan.l
make
make install

IMHO, sorry if I am posting some of this twice, just clarifying!
--
David Jensen

--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to