From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-07-15 18:10:07
Hi! On Tue, Jul 15, 2003 at 05:37:09PM +0200, Andre Majorel wrote: > $ ./src/ld65/ld65 -S 0x8000 -C src/ld65/cfg/atmos.cfg toto.o lib/atmos.lib > Warning: src/ld65/cfg/atmos.cfg(7): Segment `TAPEHDR' does not exist > Warning: src/ld65/cfg/atmos.cfg(8): Segment `STARTUP' does not exist > Warning: src/ld65/cfg/atmos.cfg(9): Segment `LOWCODE' does not exist atmos.o is definitely needed because it contains the startup code. > If I explicitly add atmos.o, I get this : > > $ ./src/ld65/ld65 -S 0x8000 -C src/ld65/cfg/atmos.cfg lib/atmos.o toto.o\ > lib/atmos.lib > Unresolved external `callmain' referenced in: > crt0.s(11) > Error: 1 unresolved external(s) found - cannot create output file I can only guess that you're using some old version or non matching sources. Here is how it looks if I do the same: uz_at_trixie:~/src/cc65/test$ make clean all rm -f test *.map *.o test.s *~ ../src/cc65/cc65 -g -T -Oirs --codesize 400 -t atmos -I../include/ test.c test.c(6): Warning: Parameter `argc' is never used test.c(6): Warning: Parameter `argv' is never used ../src/ca65/ca65 test.s ../src/ld65/ld65 -t atmos -o test ../libsrc/atmos.o test.o ../libsrc/atmos.lib uz_at_trixie:~/src/cc65/test$ Regards Uz -- Ullrich von Bassewitz uz_at_musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-07-15 18:10:18 CEST