delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/28/03:16:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41075294.1050009@indiana.edu>
Date: Wed, 28 Jul 2004 03:15:32 -0400
From: Jason Barnett <jasbarne AT indiana DOT edu>
Reply-To: jasbarne AT indiana DOT edu
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: -R flag for gcc

Hey guys, please forgive my ignorance - but I did try searching the 
mailing list / google for my answer first.  My problem is that I'm 
trying to build PHP 5.0.0 from source using cygwin's gcc.  When I do 
./configure (no options) it fails... and in my config.log I see the 
following error message:

[snip]
configure:2099: checking if compiler supports -R
configure:2114: gcc -o conftest -g -O2   conftest.c -R /usr/lib  1>&5
gcc: unrecognized option `-R'
/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 2107 "configure"
#include "confdefs.h"
[/snip]

---- configure -----
#! /bin/sh

---- confdefs.h -----
Just a bunch of defines.  Nothing special from what I can tell.

This is hopefully something you all can solve easily.  From what I can 
tell the program thinks cygwin's gcc accepts the -R flag, but it doesn't 
which causes the failure?  I tried searching the man page for gcc and 
only saw the R flag as a sub-option for debugging dumps.  Also, there is 
*nothing* in my usr/lib/ directory, should there be something there?

Thanks in advance.
Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019