While compiling one of my projects, I tripped an odd bug in the link phase. I have provided an example tarball @ http://dr.ea.ms/~oldfart/CC65/ The problem is that ld65 sees _main only in object files. It should really not matter if it is inside an archive either. The bug was found while I was tring to link together a program that has a rather large amount of object files, and it is a speedup and easier to link up from a single archive of routines than 30 files. I know your going to ask "why are you putting main() in the archive" Simple answer... because it should not matter if main() IS in the archive or in the initial object file, and because it is a speedup trick on certain slow native compilers. This is (again) the first compiler I have ran across that falls apart when I do something, and it seems bizzarre to have to constantly modify things for one compiler. Reguardless, it is a bug. Hope you can fix it this weekend. Thank you. Yours, -- Andrew J. Kroll Software and Hardware Engineer and Consultant Grafixoft http://dr.ea.ms/HW/ ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Thu Apr 27 16:21:01 2006
This archive was generated by hypermail 2.1.8 : 2006-04-27 16:21:04 CEST