Re: Configure for non-gcc compiler

2013-04-19 Thread A.P. Horst
On 19-4-2013 11:51, Bastien ROUCARIES wrote: On Fri, Apr 19, 2013 at 11:36 AM, Miles Bader wrote: Might it be easier to write simple shell script wrappers for these weird compilers, which export a more conventional interface and translate the arguments as necessary? Then you could specify the

Re: Configure for non-gcc compiler

2013-04-19 Thread Bastien ROUCARIES
On Fri, Apr 19, 2013 at 11:36 AM, Miles Bader wrote: > Might it be easier to write simple shell script wrappers for these > weird compilers, which export a more conventional interface and > translate the arguments as necessary? > > Then you could specify the shell-scripts as CC when invoking the >

Re: Configure for non-gcc compiler

2013-04-19 Thread Miles Bader
Might it be easier to write simple shell script wrappers for these weird compilers, which export a more conventional interface and translate the arguments as necessary? Then you could specify the shell-scripts as CC when invoking the configure script. -miles -- Politics, n. A strife of interest

Re: Configure for non-gcc compiler

2013-04-19 Thread A.P. Horst
On 18-4-2013 21:23, Eric Blake wrote: Using AC_PROG_CC without arguments already provides your configure script with a rather long list of compiler names to try, but it you are absolutely certain that you want to make an even longer list of default compiler names to try by default, you can call A

Re: Configure for non-gcc compiler

2013-04-18 Thread Paul Eggert
> worse, some are mixed Autoconf doesn't work very well if you use different C compilers to compile different bits of C code. If the compilers are compatible with each other it'll work, but if not, you could be in trouble. If you have that sort of trouble, my suggestion is to segregate the code b

Re: Configure for non-gcc compiler

2013-04-18 Thread Eric Blake
On 04/18/2013 12:06 PM, A.P. Horst wrote: > Hi, > > been trying my way in autotools land for a short while now, and I must > say, it works like a charm. > But there is one thing I've been breaking my head on for a while now. > Many of my projects use GCC, some use a totally different compiler and

Re: Configure for non-gcc compiler

2013-04-18 Thread Mike Frysinger
On Thursday 18 April 2013 14:06:12 A.P. Horst wrote: > been trying my way in autotools land for a short while now, and I must > say, it works like a charm. > But there is one thing I've been breaking my head on for a while now. > Many of my projects use GCC, some use a totally different compiler an