Hi andy,

I found your old message (shown below) about cross compile from internet because I am 
also blocked by the same problem when I try to compile a UPnP static library for Arm 
linux using the uclibc wrapper around arm-linux-gcc. I am a newer in Linux, and just 
learning now. Could you let me know a little bit detail about how you solve this 
problem?  What is snapshot here? How to fetch it?   Where is the following code put? 

DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \
       my_ld=`gcc -print-prog-name=ld 2>&1` && \
       [ -n "$$my_ld" ] && \
       $$my_ld -v 2>&1 | grep 'GNU ld' >/dev/null 2>&1

Any advice and help is greatly appreciated.

Thanks.

Tim Xu


--------------------------------------------------------------------------------
 
  a.. From: Andy Preston via RT 
  b.. Subject: Re: [openssl.org #329] Shared libraries on cross platform 
  c.. Date: Tue, 12 Nov 2002 19:42:45 -0800 

--------------------------------------------------------------------------------

On Wed, 2002-11-06 at 15:50, Richard Levitte via RT wrote:

> I assume you're talking about the following, which has a hard-coded 
> call to gcc.
> 
> DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \
>       my_ld=`gcc -print-prog-name=ld 2>&1` && \
>       [ -n "$$my_ld" ] && \
>       $$my_ld -v 2>&1 | grep 'GNU ld' >/dev/null 2>&1
> 
> I've just committed a change so gcc in the second line is replaced 
> with ${CC}.  Does that help?

Sorry to take so long to reply. Using the snapshot from 20021109 it now
builds the libraries correctly.

thanks,

Andy Preston

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

--------------------------------------------------------------------------------
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to