Re: autoconf macro for gcc symbol visibility

2005-05-31 Thread Ralf Wildenhues
* J.T. Conklin wrote on Sun, May 29, 2005 at 07:34:46PM CEST: Does anyone have a macro for testing gcc's symbol visibility options (-fvisibility=hidden, etc.)? The ACE/TAO autoconf scripts currently checks for gcc/g++ = 4.0, but that loses on non-ELF targets. I believe some Intel compilers

Autoconf tutorial (thanks).

2005-05-31 Thread E. Rosten
Thanks to all of you who gave comments, suggestions and corrections to the tutorial I posted. -Ed -- (You can't go wrong with psycho-rats.) (er258)(@)(eng.cam)(.ac.uk) /d{def}def/f{/Times findfont s scalefont setfont}d/s{10}d/r{roll}d f 5/m {moveto}d -1 r 230 350 m 0 1 179{1 index show

Preferring a specific compiler?

2005-05-31 Thread Dan Stromberg
I have an app I'd like to compile with tcc -b if available, otherwise try gcc, and if that is unavailable too, then try cc. autoconf seems to want to do gcc, falling back on cc, out of the box. But how might I make it prefer tcc -b over gcc? Thanks!

Re: autoconf macro for gcc symbol visibility

2005-05-31 Thread Stepan Kasal
Hi, On Tue, May 31, 2005 at 05:27:08PM +0200, Ralf Wildenhues wrote: Note also that some compilers won't error out on unknown flags (esp Intel ones :) but only issue a warning. This may or may not matter for you. If it does: For example, Libtool-1.5.18 employs some trickery to find out the

Re: Preferring a specific compiler?

2005-05-31 Thread Stepan Kasal
Hi, On Tue, May 31, 2005 at 10:27:01AM -0700, Dan Stromberg wrote: I have an app I'd like to compile with tcc -b if available, otherwise try gcc, and if that is unavailable too, then try cc. place AC_PROG_CC([tcc -b gcc cc]) near the top of your configure.ac Stepan

Re: Preferring a specific compiler?

2005-05-31 Thread Dan Stromberg
On Tue, 31 May 2005 21:16:00 +0200, Stepan Kasal wrote: Hi, On Tue, May 31, 2005 at 10:27:01AM -0700, Dan Stromberg wrote: I have an app I'd like to compile with tcc -b if available, otherwise try gcc, and if that is unavailable too, then try cc. place AC_PROG_CC([tcc -b gcc cc])

Re: Preferring a specific compiler?

2005-05-31 Thread Andreas Schwab
Dan Stromberg [EMAIL PROTECTED] writes: On Tue, 31 May 2005 21:16:00 +0200, Stepan Kasal wrote: Hi, On Tue, May 31, 2005 at 10:27:01AM -0700, Dan Stromberg wrote: I have an app I'd like to compile with tcc -b if available, otherwise try gcc, and if that is unavailable too, then try cc.