linux/alpha and ccc compiler

2003-02-04 Thread Bob McElrath
libtool does not currently recognize the Compaq C Compiler on linux/alpha. Specifically, it does not recognize that it can generate PIC code and therefore shared libraries. Attached is a patch against libtool.m4 which should allow this to work. This is adapted from a patch I found on the web from

Re: linux/alpha and ccc compiler

2003-02-04 Thread Robert Boehne
Bob, This patch isn't quite up to par. For one, it is against a very old version of Libtool, and the method it uses is very sloppy. Generally we check the compiler by it's name, when that isn't useful we check what "-V or --version" returns, and as a last resort use pre-defined preprocessor macr

Re: linux/alpha and ccc compiler

2003-02-05 Thread Bob McElrath
Here is a trivial patch to add Compaq's alpha c compiler (ccc) to libtool.m4. This is against CVS head. Cheers, Bob McElrath [Univ. of Wisconsin at Madison, Department of Physics] "You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conf

Re: linux/alpha and ccc compiler

2003-02-05 Thread Robert Boehne
Bob, Does this patch actually work? It looks to me like you're inheriting gcc's configuration and then changing one flag. If you have not run the test suite yet, run it and post the results. Where did this compiler come from? I've been using Alphas since mips/ULTRIX went away, and I've never he

Re: linux/alpha and ccc compiler

2003-02-06 Thread Bob McElrath
Robert Boehne [[EMAIL PROTECTED]] wrote: > Bob, > > Does this patch actually work? It looks to me like you're inheriting > gcc's configuration and then changing one flag. If you have not run > the test suite yet, run it and post the results. All 105 tests passed =