You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you debug this and propose a fix? I suspect it is because
matrix-test.c exists.
Yes, that's exactly why there's a problem.
Marc, I don't even know in which file to start looking. You probably
know the name of the function that contains the broken logic. It's not
efficient for me to debug this one.
I looked a bit more at this today, but no progress. It does seem to happen only from the command line, (compile-file "foo") generates a new .o file even if foo.c exists.
This is funny.
heine:
> gsc -c matrix-test> ls -lrt matrix-test.*heine:
-rw-rw-r-- 1 lucier lucier 2109 Mar 9 16:35 matrix-test.scm~
-rwxrwxr-x 1 lucier lucier 14088 Mar 9 16:37 matrix-test.o1*
-rwxrwxr-x 1 lucier lucier 25872 Mar 9 16:37 matrix-test.o2*
-rwxrwxr-x 1 lucier lucier 25872 Mar 9 16:38 matrix-test.o3*
-rwxrwxr-x 1 lucier lucier 25872 Mar 9 16:38 matrix-test.o4*
-rw-rw-r-- 1 lucier lucier 2110 Mar 9 16:39 matrix-test.scm
-rwxrwxr-x 1 lucier lucier 25872 Mar 9 16:39 matrix-test.o5*
-rw-rw-r-- 1 lucier lucier 49317 Mar 9 17:06 matrix-test.c
heine:
> gsc matrix-test> ls -lrt matrix-test.*heine:
-rw-rw-r-- 1 lucier lucier 2109 Mar 9 16:35 matrix-test.scm~
-rwxrwxr-x 1 lucier lucier 14088 Mar 9 16:37 matrix-test.o1*
-rwxrwxr-x 1 lucier lucier 25872 Mar 9 16:37 matrix-test.o2*
-rwxrwxr-x 1 lucier lucier 25872 Mar 9 16:38 matrix-test.o3*
-rwxrwxr-x 1 lucier lucier 25872 Mar 9 16:38 matrix-test.o4*
-rw-rw-r-- 1 lucier lucier 2110 Mar 9 16:39 matrix-test.scm
-rwxrwxr-x 1 lucier lucier 25872 Mar 9 16:39 matrix-test.o5*
-rw-rw-r-- 1 lucier lucier 49317 Mar 9 17:06 matrix-test.c
No matrix-test.o6! I was pulling my hair out today with some performance problems, because I kept running the interpreted code!
The text was updated successfully, but these errors were encountered: