On 11/11/2007, William Davis <frstan@bellsouth.net> wrote:
Help me understand: the Leopard version of gcc is 4.0.1 as supplied by apple. mac ports has a gcc 4.0 @ 4.0.4 (and a gcc 4.2 @ 4.2.2). So where does gcc 4.0.3 come from?
g95 pulls down the gcc-core-4.0.3 source. Cheers Adam
On Nov 11, 2007, at 3:48 PM, Adam Mercer wrote:
On 11/11/2007, William Davis <frstan@bellsouth.net> wrote:
Help me understand: the Leopard version of gcc is 4.0.1 as supplied by apple. mac ports has a gcc 4.0 @ 4.0.4 (and a gcc 4.2 @ 4.2.2). So where does gcc 4.0.3 come from?
g95 pulls down the gcc-core-4.0.3 source.
Cheers
Adam
thanks Adam, I see that now. Though I now have Leopard, my existing (working) g95 was built and installed installed under OS 10.4.10. g95 -dumpspecs does give *version: 4.0.3 and *darwin_arch: i686 *darwin_subarch: %{march=pentium3:pentIIm3;:i686} for what that is worth as information. Attempting rebuild failed as indicated by Takeshi. I wonder if this warning had anything to do with the case: gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W - Wall -Wtraditional -pedantic ../../libiberty/concat.c -o concat.o ../../libiberty/concat.c: In function 'concat_length': ../../libiberty/concat.c:112: warning: traditional C rejects ISO C style function definitions ../../libiberty/concat.c: In function 'concat_copy': ../../libiberty/concat.c:127: warning: traditional C rejects ISO C style function definitions ../../libiberty/concat.c: In function 'concat_copy2': ../../libiberty/concat.c:146: warning: traditional C rejects ISO C style function definitions ../../libiberty/concat.c: In function 'concat': ../../libiberty/concat.c:157: warning: traditional C rejects ISO C style function definitions ../../libiberty/concat.c: In function 'reconcat': ../../libiberty/concat.c:194: warning: traditional C rejects ISO C style function definitions and also: (SHLIB_LINK='/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_lang_g95/work/gcc-4.0.3/g95/gcc/xgcc -B/ opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_lang_g95/work/gcc-4.0.3/g95/gcc/ -B/opt/ local/lib/gcc-lib/i386-apple-darwin9.0.0/4.0.3/i386-apple-darwin9.0.0/ bin/ -B/opt/local/lib/gcc-lib/i386-apple-darwin9.0.0/4.0.3/i386-apple- darwin9.0.0/lib/ -isystem /opt/local/lib/gcc-lib/i386-apple- darwin9.0.0/4.0.3/i386-apple-darwin9.0.0/include -isystem /opt/local/ lib/gcc-lib/i386-apple-darwin9.0.0/4.0.3/i386-apple-darwin9.0.0/sys- include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes - Wmissing-prototypes -Wold-style-definition -Wno-error -isystem ./ include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 - D__GCC_FLOAT_NOT_NEEDED -dynamiclib -nodefaultlibs -Wl,-install_name,/ opt/local/lib/gcc-lib/i386-apple-darwin9.0.0/4.0.3/ lib@shlib_slibdir_qual@/@shlib_base_name@.1.0.dylib -Wl,- flat_namespace -o @multilib_dir@/@shlib_base_name@.1.0.dylib.tmp -Wl,- exported_symbols_list,@shlib_map_file@ -compatibility_version 1 - current_version 1.0 @multilib_flags@ @shlib_objs@ -lc && rm -f @multilib_dir@/@shlib_base_name@.dylib && if [ -f @multilib_dir@/ @shlib_base_name@.1.0.dylib ]; then mv -f @multilib_dir@/ @shlib_base_name@.1.0.dylib @multilib_dir@/@shlib_base_name@. 1.0.dylib.backup; else true; fi && mv @multilib_dir@/@shlib_base_name@. 1.0.dylib.tmp @multilib_dir@/@shlib_base_name@.1.0.dylib && ln -s @shlib_base_name@.1.0.dylib @multilib_dir@/@shlib_base_name@.dylib' \ SHLIB_MULTILIB=''; \ gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros - Wold-style-definition -Wno-error -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I./../intl -I../../gcc/../libcpp/ include \ -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/ opt/local/lib/gcc-lib/i386-apple-darwin9.0.0/4.0.3/lib/gcc/\" - DSTANDARD_LIBEXEC_PREFIX=\"/opt/local/lib/gcc-lib/i386-apple- darwin9.0.0/4.0.3/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"4.0.3\" - DDEFAULT_TARGET_MACHINE=\"i386-apple-darwin9.0.0\" - DSTANDARD_BINDIR_PREFIX=\"/opt/local/lib/gcc-lib/i386-apple- darwin9.0.0/4.0.3/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "- DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "- DNO_SHARED_LIBGCC_MULTILIB"` \ -c ../../gcc/gcc.c -o gcc.o) ../../gcc/gcc.c:732: warning: string length '2975' is greater than the length '509' ISO C89 compilers are required to support ../../gcc/gcc.c:738: warning: string length '510' is greater than the length '509' ISO C89 compilers are required to support ../../gcc/gcc.c:938: warning: string length '844' is greater than the length '509' ISO C89 compilers are required to support ../../gcc/gcc.c:963: warning: string length '608' is greater than the length '509' ISO C89 compilers are required to support ../../gcc/gcc.c:1559: warning: string length '695' is greater than the length '509' ISO C89 compilers are required to support It would appear the DEFAULT_TARGET_MACHINE was i686-apple- darwin8[.x.x] when I built it pre-Leopard...... Perhaps, Takeshi thats sugestive...... William Davis frstanATbellsouthDOTnet Mac OS X.5.0 Darwin 9.0.0 Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non
participants (2)
-
Adam Mercer
-
William Davis