Changing default compiler in configure

Jeremy Allison jallison at
Fri Jan 15 17:07:49 GMT 1999

Frank Hartung wrote:
> Hello,
> i have trouble compiling the Samba 2.0.0 source (several warnings from
> system libarys, not from the samba code). Configure choice the gcc
> compiler. Now i want to give the compiler delivered with the system (cc)
> a chance, but i did not find a switch for this purpose. Is there an easy
> way for doing this?

Using bash - type

CC=<cc-you-want> ./configure

Using csh - type

setenv CC <cc-you-want>

Using sh - type

export CC

Hope this helps,

	Jeremy Allison,
	Samba Team.

Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

More information about the samba-technical mailing list