You've inspired my curiosity.  They both seem to produce exactly the same 
results:

tar zxf ntp-4.2.8p1.tar.gz
cd ntp-4.2.8p1
env CC=cc ./configure
cd ..
mv ntp-4.2.8p1 ntp-4.2.8p1_env
tar zxf ntp-4.2.8p1.tar.gz
cd ntp-4.2.8p1
./configure CC=cc
cd ..
diff -bdur ntp-4.2.8p1_env ntp-4.2.8p1

...only mentions config.log because the temp filenames are different:

diff -bdur ntp-4.2.8p1_env/config.log ntp-4.2.8p1/config.log
--- ntp-4.2.8p1_env/config.log  2015-03-16 15:01:40.000000000 -0700
+++ ntp-4.2.8p1/config.log      2015-03-16 15:03:57.000000000 -0700
@@ -4,7 +4,7 @@
 It was created by ntp configure 4.2.8p1, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
-  $ ./configure 
+  $ ./configure CC=cc
 
 ## --------- ##
 ## Platform. ##
@@ -3273,7 +3273,7 @@
 configure:18980: cc -o conftest -g -O2   conftest.c  >&5
 Undefined symbols for architecture x86_64:
   "__doprnt", referenced from:
-      _main in conftest-752dba.o
+      _main in conftest-4acd3a.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see invocation)
 configure:18980: $? = 1
[ ... ]

Regards,
-- 
-Chuck

On Mar 16, 2015, at 2:30 PM, Harlan Stenn <[email protected]> wrote:
> Instead of:
> 
>   env CC=cc ./configure
>   env CC=gcc ./configure
> 
> you want:
> 
>   ./configure CC=cc
>   ./configure CC=gcc
> 
> H

_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool

Reply via email to