From: Groepaz; on Date: October 18, 2004; at 12:49 AM -0400 > > While trying to compile cc65 under gentoo (and, writing a proper ebuild > while at it :)), I noticed two things: > > 1) the build-process of the documentation relies on a rather obsolete > version of sgmltools (I would assume v2, or some linuxdoc variant). The > problem is that the currently actively developed version (v3, > http://sgmltools-lite.sourceforge.net) doesn't understand some of the > command-line options used in the cc65 makefiles. Which of the options does SgmlTools-lite reject? What must you substitute for them? Look at the headers of the HTML files in Uz's cc65 documentation. The GENERATOR is listed as "LinuxDoc-Tools 0.9.20". It was derived from version 1 of SgmlTools. The master copy of LinuxDoc Tools is maintained by the Debian Linux Project. You can find it at http://packages.debian.org/stable/source/linuxdoc-tools But, it's stored as a ".tar.gz" archive; the Fedora Linux Project has it in RPM format. > > Whatever -- since I'd like to provide a proper ebuild, it would be nice > to get that sorted out. :) I could possibly just install the prebuild > docs, but that would require a top-level makefile that doesn't install > everything at once (I can supply that, already modded the current one.) > However, being able to build the docs. myself (using sgmltools-lite) > would be even nicer. :) > > ... > > It would also be nice if the top-level makefile had separate targets for > building and installing the executables/libraries/documentation and > sample programs. (I can supply that, too). I've done most of that, but haven't sent it to Uz, yet. The new makefile has an "uninstall" rule, too. But, I hadn't thought of adding the "samples" rule -- thanks for reminding me. > > 2) The makefile for the sample-programs relies on the source-tree, ie., > > CRT0 = ../libsrc/$(SYS).o > CLIB = ../libsrc/$(SYS).lib > CC = ../src/cc65/cc65 > CL = ../src/cl65/cl65 > AS = ../src/ca65/ca65 > LD = ../src/ld65/ld65 > > should be: > > PREFIX = /usr > BINDIR = $(PREFIX)/lib > LIBDIR = $(PREFIX)/lib > > CRT0 = $(LIBDIR)/$(SYS).o > CLIB = $(LIBDIR)/$(SYS).lib > CC = $(BINDIR)/cc65 > CL = $(BINDIR)/cl65 > AS = $(BINDIR)/ca65 > LD = $(BINDIR)/ld65 > > ... Well, you get the idea. :) We have a problem with that makefile: Some people don't have the source-tree on their systems. But, other people have _only_ the source-tree -- they don't install the generated files. So, the makefile doesn't have a guarantee about where to look for the files that it needs. But, that "prefix-method" could make it easier to adapt the makefile. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Tue Oct 19 05:45:30 2004
This archive was generated by hypermail 2.1.8 : 2004-10-19 05:46:12 CEST