------- Additional Comments From h dot rind at mondial dot co dot at 2004-11-25 01:46 ------- the following might be a similar problem:
if h8300-hms-gcc 3.3.1 is called with the -save-temps option on h8300-hms it produces a wrong output architecture. a call to the linker results in the following error message: h8300-hms-ld: skipping incompatible main.o when searching for main.o h8300-hms-ld: cannot find main.o used call: h8300-hms-gcc -mh -c -Wall -W -Wcast-qual -Wwrite-strings -Wno-unused -save- temps main.cpp i figured out that gcc creates h8300-architecture instead of h8300h, which is why the linker fails. this can be checked with "h8300-hms-objdump.exe -f main.o". omitting -save-temps resolves the problem. OS: Win2000 (tested, behaviour can be reproduced) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18549