[ccache] Other compilers (MSVC, SNSystem ProDG, Metrowerks CW )

Perochon Sebastien Sebastien.Perochon at mmarelli-se.com
Mon Aug 30 08:28:28 GMT 2004


I have successfully compiled ccache directory under cygwin to get the
ccache.exe.
Then to test it, I have re-compiled the ccache directory with ccache.exe by
modifying the makefile as follow:

CC=ccache gcc

But, it seems that there are some linking problems:

$ make
ccache gcc -g -O2 -Wall -W -I.   -c -o ccache.o ccache.c
ccache gcc -g -O2 -Wall -W -I.   -c -o mdfour.o mdfour.c
ccache gcc -g -O2 -Wall -W -I.   -c -o hash.o hash.c
ccache gcc -g -O2 -Wall -W -I.   -c -o execute.o execute.c
ccache gcc -g -O2 -Wall -W -I.   -c -o util.o util.c
ccache gcc -g -O2 -Wall -W -I.   -c -o args.o args.c
ccache gcc -g -O2 -Wall -W -I.   -c -o stats.o stats.c
ccache gcc -g -O2 -Wall -W -I.   -c -o cleanup.o cleanup.c
ccache gcc -g -O2 -Wall -W -I.   -c -o snprintf.o snprintf.c
ccache gcc -g -O2 -Wall -W -I.   -c -o unify.o unify.c
ccache gcc -g -O2 -Wall -W -I. -o ccache.exe ccache.o mdfour.o hash.o
execute.o
util.o args.o stats.o cleanup.o snprintf.o unify.o
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
warning
: ccache.o: local symbol `' has no section
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
mdfour.
o: bad string table size 0
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
warning
: mdfour.o: local symbol `(null)' has no section
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
warning
: mdfour.o: local symbol `' has no section
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
mdfour.
o: bad string table size 0
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
warning
: mdfour.o: local symbol `(null)' has no section
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
mdfour.
o(.stab+0x0): Stabs entry has invalid string index.
mdfour.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [ccache.exe] Error 1

Could someone help ???

Thanks,
Sebastien.

-----Message d'origine-----
De: Perochon Sebastien 
Date: lundi 30 août 2004 10:20
À: ccache at lists.samba.org
Objet: RE: [ccache] Other compilers (MSVC, SNSystem ProDG, Metrowerks CW
)


  Hi Eric,

I have tried to compile ccache with cygwin to get a .exe. Then I use
ccache.exe with the GNU GCC compiler of VxWorks for cross-compiling... but I
had some errors...
I will try to do it again and send the traces...

Sebastien.

-----Message d'origine-----
De: Eric Brayet [mailto:eric.brayet at kynogon.com]
Date: vendredi 27 août 2004 18:14
À: ccache at lists.samba.org
Objet: [ccache] Other compilers (MSVC, SNSystem ProDG, Metrowerks CW)


Hi all,

has anybody tried to use ccache with another compiler than gcc on a Win32
platform ? Using cygwin or not ?

I plan to try to use it for :
- MS VC 6 or 7,
- MetroWerks CodeWarrior Win32, NGC or PS2
- SNSystem ProDG for NGC or PS2

Any comments or tips before I start ?
Thanks,
Eric B.
_______________________________________________
ccache mailing list
ccache at lists.samba.org
http://lists.samba.org/mailman/listinfo/ccache
_______________________________________________
ccache mailing list
ccache at lists.samba.org
http://lists.samba.org/mailman/listinfo/ccache


More information about the ccache mailing list