This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Compiling Issue
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: "NAMIAS, JOHN D CTR USAF AFMC AFLCMC/HIBD" <john dot namias dot ctr at us dot af dot mil>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>, "PossumJohn at Charter dot net" <PossumJohn at charter dot net>
- Date: Fri, 3 Feb 2017 16:55:36 +0000
- Subject: Re: GCC Compiling Issue
- Authentication-results: sourceware.org; auth=none
- References: <B2CC26E04FE0A545B4118BF7D2F1DAA6683C9423@52ZHTX-D03-05E.area52.afnoapps.usaf.mil>
On 3 February 2017 at 16:09, NAMIAS, JOHN D CTR USAF AFMC AFLCMC/HIBD wrote:
> Hello all!
>
> I apologize if this is posted in the wrong place. I am attempting to compile OpenSSL 1.1.od so that I can eventually install Apache 2.4.25. I have run the " ./Configure solaris64-sparcv9-gcc" and followed up with the "make". During the "make" process I see "gcc: unrecognized option `-pthread'" at the end of each command-line processed. (see below) I should tell y'all that this is a Solaris 10 OS on a Sun server. The version of GCC that is installed is GCC 3.4.3 (also below). My question is -- Will upgrading to the newest version of GCC correct these errors? If not -- do you have any suggestions on how to correct them?
Ancient versions of GCC for Solaris only understand -pthreads not
-pthread. More recent releases (anything since GCC 4.1 onwards) accept
either option, with the same meaning.
So you could either adjust the build process to use -pthreads instead
of -pthread, or update to a newer GCC.