[Vxl-maintainers] RE: [Cmake] command to build dynamic lib changed causing my VXL b uild to brea k

Brad King brad . king at kitware . com
Sun, 13 Jan 2002 12:33:08 -0500 (EST)


> Fred, Peter, Bill,
> 
> > This could be a bad installation of gcc on your solaris machine.
> > The only thing that changed was the creation of shared libraries.
> > You are right in saying that the .o files are created in the same way.
> I have duplicated the problem using our correct installation of gcc 2.95.2
> on our solaris machine by following Fred's instructions.
> 
> The foo executable core dumps immediately if -shared -nostdlib is used.  
> One difference, though, is that -Wl,-G seems to produce an executable that
> gets in an infinite loop.  I'm working on it...
Well, I must have mixed up some flags or something before, because I can't
duplicate the problem anymore.  Either set of flags produces an executable
that returns immediately without an error.  Fred, I would suggest you try
what Bill suggested.

-Brad