From: Joshua U. <uz...@li...> - 2000-04-24 20:46:43
|
* Mike Hopkirk(hops) <ho...@sc...> [000424 12:42]: > Let us know when you're happy with it and I'll test it on the systems > we've got here ( Osr5 and UW ) Yep, it's getting to a better state... the little messups are vanishing one-by-one... and it's starting to be portable. A few thing to mention: * It'll default on "bison -y", then go to "byacc" and then "yacc". This doesn't seem to be a problem (though a little egrep.y cleanup is needed to cut down on the warnings). * It'll default to "flex" and then go to "lex"... which flex seems to be required. That, and I have it pass "-l" as an $LFLAG. * One thing is that both "egrep.c" and "scanner.c" are both being included in the distribution when I do a "make dist" (very handy if you've not used it before)... it can be averted if you do a "make clean" ahead of time. I don't know what your preference is... my roommate (the GIMP maintainer) thinks it's a good thing to include those files so as to cut down the need for a lexer and a yacc (granted that they files still should be included). What do you guys think? * Setting the defines is not complete... "Linux" is there, but I'm not 100% sure about others like "BSD", etc... * I have it -lcurses ... not -lncurses. It's not problem on Linux, since they're one and the same. I've noticed on Solaris (where this built fine) that it builds, and thinks it has ncurses, but then it can't find the shared library. In the meantime, people can hand-modify it to use -lncurses after they do a ./configure. * Most things related to portability are probably either not defined or not used. But this will be a starting point... and we can nail down issues of portability as we test building on different OSes. A bunch of new files will be introduced into the distribution. I also think it's a good idea to keep only the "doc", "contrib" and "common" directories... and to move "common" to "src". Also, an "INSTALL" file is required... so one needs to be written (I've done the minimum). I've also made some light source file modifications... but nothing major. Anyways... yeah... I've got it to a somewhat decent point... give this a whirl: http://uzix.org/~uzi/cscope-ac.tgz If you can get it working there, I'd say it's probably ready to go out the door, and portability fixes will occur when we get bug reports... -- Joshua Uziel, Senior Linux Consultant, Linuxcare, Inc. 415.354.4878 tel, 415.701.7457 fax uz...@li..., http://www.linuxcare.com/ Linuxcare. Support for the revolution. |