seen with current trunk, not with the 2.18 branch, testcase taken from the darcs configury.
echo -e '#include "test2.h"\nint main (int argc, char** argv) {callme(); return 1;}' > test2.c echo 'int callme() {}' > test2.h gcc -S -g test2.c -o test2.s; gcc test2.s -o test2 -g test2.s: Assembler messages: test2.s:31: Error: file number 2 already allocated
omitting the -g for the linking avoids the error.
seen with current trunk, not with the 2.18 branch, testcase taken from the darcs
configury.
echo -e '#include "test2.h"\nint main (int argc, char** argv) {callme(); return
1;}' > test2.c
echo 'int callme() {}' > test2.h
gcc -S -g test2.c -o test2.s; gcc test2.s -o test2 -g
test2.s: Assembler messages:
test2.s:31: Error: file number 2 already allocated
omitting the -g for the linking avoids the error.