adding a bit more of my debugging the problem: the chroot appears to be working but it's putting in the path of the output instead of src.
'nm -l' before chroot (^c^) command: 00000000004015db T testCloneHash /home/r/w/dev/.tup/mnt/@tupjob-147/home/russell/w/firefly/jayne/dev/build-debug/src/config/test/config_test.c:187 'nm -l' after chroot command: 00000000004015eb T testCloneHash /home/r/w/dev/build-debug/src/config/test/config_test.c:187 what it should be is: /home/russ/w/dev/src/config/test/config_test.c:187 On Tuesday, May 20, 2014 9:20:20 AM UTC-5, roguebyte wrote: > > Hi, When running tup w/ variant dirs, gdb cannot find the source files. > > (gdb) l > 1 config_test.c: No such file or directory. > > I've chroot'd my gcc command as suggested by another post: > > : foreach $(SRCS) |> ^c^ gcc $(CFLAGS) $(INCS) -c %f -o %o |> %B.o > : *.o $(CFG_LIB) |> ^c^ gcc %f -o %o |> config_test > > but same result. > > gdb works if I do the standard output files with source files. We must > have output separate from source and variants is the only reason I was able > to use tup for this project. > TIA > -- -- tup-users mailing list email: [email protected] unsubscribe: [email protected] options: http://groups.google.com/group/tup-users?hl=en --- You received this message because you are subscribed to the Google Groups "tup-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
