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

Re: Solaris 2.6, gcc 8.0, IDL 5.2




Karl Young <kyoung@itsa.ucsf.edu> writes:
> 
> Hi, I just started trying to use the above combination on a Sun Sparc
> and can't
> quite get the compiler flags right for building shared object libraries
> for IDL
> (thanks to RSI for providing the right flags for the native Sun compiler
> - that
> was greatly appreciated). Has anybody used that combination, and have
> the
> (or 1 set of anyway) proper compiler flags ? Thanks,

I have no idea what gcc 8.0 is, but here is what I have used for
gcc2.7.  It should be the same for you.

CC="gcc"
CFLAGS="-fPIC"
LD="ld"
LDFLAGS="-G"

Craig



-- 
--------------------------------------------------------------------------
Craig B. Markwardt, Ph.D.         EMAIL:    craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
--------------------------------------------------------------------------