Re: static linking of libgcc on linux ?

2010-10-17 Thread David Holmes
Just to revive this ... Andrew Haley said the following on 09/27/10 20:06: In practice, it's often the other way round: static linking with libgcc on GNU/Linux causes more problems than it solves. If we're not linking statically with libgcc now, it would be risky to start doing so again. So t

Passing linker options

2010-10-17 Thread David Holmes
Just curious why we sometimes use: -Xlinker option and other times -Wl,option is there any practical difference? Do all gcc versions recognize both forms? Thanks, David

Invalid sanity check

2010-10-17 Thread David Holmes
I happened to notice in jdk/make/common/shared/Sanity.gmk: sane-gcc-compiler: ifeq ($(PLATFORM), solaris) ifndef OPENJDK @if [ -r $(GCC_COMPILER_PATH) ]; then \ fi endif ifeq ($(PLATFORM), linux) Looks to me like there's a misplaced endif there. David