I'm compiling a file with the following command line:
c:\Projects\vario\gbparanoia>sdcc --stack-auto --vc -mgbz80 -IC:/gameboy/gbdk-3.0/include -IC:/SDCC-2.9/device/include -c -o part1.o part1.c
The file part1.c refers to to function defined in the header file C:/gameboy/gbdk-3.0/include . The file compiles fine - but then I get this message:
ar ruv C:/SDCC-2.9/lib/gbz80/gbz80.lib
ar: C:/SDCC-2.9/lib/gbz80/gbz80.lib: No such file or directory
Which suggests that it's trying to build the library (which isn't available yet. My make file includes an explicit link command. How can I suppress or eliminate this error?
Also, so far I've been using a file gbdk.lib which consists of a list of object modules in the same directory. This has worked very well for my purpose. The documentation - I've just upgraded to 2.9.0 is a little unclear to me as to whether I can continue to use this method.
Log in to post a comment.