From: Groepaz (groepaz_at_gmx.net)
Date: 2003-01-11 05:12:53
On Thursday 09 January 2003 19:31, Brian Bagnall wrote: > Maybe I'm going about this wrong. I've got a multi-file project. Obviously > only one file gets a complete build, i.e. the main file but the rest I just > want to use the compiler and assembler to make .o files so they can be > included in other files. Right now it is laborious to make an object file. > I need to use cc65 on 'hello.c', then select hello.s, then run ca65 on > that, then delete hello.s (otherwise it clutters up my list of files in the > IDE). It seems like this shouldn't be a problem and lots of programmers > have probably run into the same situation, right? Is the best solution to > create a batch file that is totally customized just for compiling this > project, and run a complete compile on the whole project each time? i would suggest makefiles.... get gnumake compiled native for windows (not cygwin, but from the mingw32 package) and use that with handwritten makefiles.... most IDEs dont make a good job with autogenerating that type of things for anything but native applications, if it works decent at all :) however, if you are doing simple stuff only (ie, one main sourcefile) every editor should have some option to call compilers (or assemblers or whatever :=)) specifically for each file extension... if your ide cant do that, delete it NOW :=D you might probably want to try ultraedit... one of the better editors for windoze, virtually free, and it has many many users so you can find tons of hints on the web on how to set it up for whatever you can think of :o) atleast setting it up for calling external programs, and even for getting their error output aint hard... used that for gbc programming once :=) for c-programming "visual slick edit" is also a great editor, but kindof expensive unfortunatly :=P -- ___ ___ .___________________ .___________ _______. c=64 / | \| \__ ___/ \ \_ _____/ \ \ [groepaz] gb / ' \ | | | / \ / \ | __)_ / | \ gp32 cgb \ . / | | |/ ' \| \/ | \ psx gba \___|_ /|___| |____|\____|__ /_______ /\____|__ / dc -----\/-----'---------------\/--------\/---------\/ http://www.hitmen-console.org Hitmen WWW Headquarters http://fly.to/hitmen-groepaz my personal playground http://rr.c64.org/silversurfer home of the RR debugger ftp.musoftware.de/pub/groepaz cc65 dump site ---------------------------------------------------------------------- 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-01-11 05:12:10 CET