swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gcc3.1-1036 compiler problem


From: W . Northcott
Subject: gcc3.1-1036 compiler problem
Date: Sun, 31 Mar 2002 11:36:25 +1000

What follows is cross posted to two lists.  My apologies if you get both.

I updated my gcc3 from the cvs with the tag gcc3-1036 on 28 March.

This source was built using the GNUmakefile with the references to i386
eliminated.

The result was manually installed into /usr.  Ranlib -s  was run on the
libraries (should this be ranlib -a?).

I can use gcc_select to swap the two compilers and both appear to work.

Using an additional build setting of 'CC = cc -no-cpp-precomp, I can
compile and run the Hello world project from the PB tutorial.
I then got the source for the Tcl/Tk frameworks and wish from the
tcl.sourceforge.net cvs.  These compile with the Dec 2001 system compiler.

With gcc 3.1 Tcl appears to build OK.

Tk starts well but dies on this:

cc -no-cpp-precomp -c "-F/Users/billn/Public/Darwin/tk/macosx/build" "
-F/Users/billn/Public/Darwin/tk/macosx/build" "
-I/Users/billn/Public/Darwin/tk/macosx/build/include" "-I../../tcl/generic"
"-I../../tcl/unix" "-I../bitmaps" "-I../generic" "-I../xlib" "-I../xlib" "
-arch" "ppc" "-fno-common" "-fpascal-strings" "-O0" "-Wmost" "
-Wno-four-char-constants" "-Wno-unknown-pragmas" "-DMAC_OSX_TCL" "
-DMAC_OSX_TK" "-DHAVE_UNISTD_H=1" "-DHAVE_LIMITS_H=1" "-DTCL_THREADS=1" "
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1" "-DHAVE_GETCWD=1" "-DHAVE_OPENDIR=1" "
-DHAVE_STRSTR=1" "-DHAVE_STRTOL=1" "-DHAVE_TMPNAM=1" "-DHAVE_WAITPID=1" "
-DNO_VALUES_H=1" "-DNO_DLFCN_H=1" "-DHAVE_UNISTD_H=1" "
-DHAVE_SYS_PARAM_H=1" "-DUSE_TERMIOS=1" "-DHAVE_SYS_TIME_H=1" "
-DTIME_WITH_SYS_TIME=1" "-DHAVE_TM_ZONE=1" "-DHAVE_TM_GMTOFF=1" "
-DHAVE_ST_BLKSIZE=1" "-DSTDC_HEADERS=1" "-DNEED_MATHERR=1" "
-DHAVE_SIGNED_CHAR=1" "-DHAVE_SYS_IOCTL_H=1" "-DHAVE_SYS_FILIO_H=1" "-pipe"
"-g" "-precomp-trustfile"
"/Users/billn/Public/Darwin/tk/macosx/build/intermediates"
"/Users/billn/Public/Darwin/tk/macosx/build/intermediates/TkLibrary.build/TrustedPrecomps.txt"

"-Wp,
-header-mapfile,/Users/billn/Public/Darwin/tk/macosx/build/intermediates/TkLibrary.build/Headermaps/Tk.hmap"

  "
-I/Users/billn/Public/Darwin/tk/macosx/build/intermediates/TkLibrary.build/DerivedSources"

  "../xlib/xgc.c"  -o
"/Users/billn/Public/Darwin/tk/macosx/build/intermediates/TkLibrary.build/Objects/ppc/xgc.o"
cc: cannot specify -o with -c or -S and multiple compilations

I can only see one file to compile in this massive command.  Is this a
compiler bug?

Bill Northcott


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]