delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/05/13:00:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <20040505165807.3244.qmail@web12108.mail.yahoo.com>
Date: Wed, 5 May 2004 09:58:07 -0700 (PDT)
From: Ted Yu <ted_yu AT yahoo DOT com>
Subject: RE: DLL generation under Cygwin
To: cygwin AT cygwin DOT com
In-Reply-To: <Pine.GSO.4.56.0405051202310.1487@slinky.cs.nyu.edu>
MIME-Version: 1.0

Hi, Igor:
> So does MSVCRT.dll, which is what MinGW uses for its
> runtime.
I am not familiar with MinGW. What is it ?

> Why are you linking in libc.a explicitly?  The
> appropriate version should
> be automatically linked in by the compiler.
If I omit libc.a, I get this:
ld: warning: cannot find entry symbol fftEntry AT 12;
defaulting to 10001000
djbfft2d.o(.text+0x3c0):djbfft2d.cpp: undefined
reference to `_alloca'
djbfft2d.o(.text+0x44c):djbfft2d.cpp: undefined
reference to `malloc'
djbfft2d.o(.text+0x7a7):djbfft2d.cpp: undefined
reference to `free'

> What's LIBS set to?  What's DLLNAME set to?
> 
LIBS is empty. DLLNAME is djbfft.dll.

> What's AS set to?
> 
AS is as.

> and using $(CC) to link instead of $(LD) (you can
> pass flags to ld via
> the -Wl,... options, IIRC).
Any difference in doing so ? I got the above Makefile
from Cygwin FAQ. Does gcc accept -e option ?

Thanks



	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

--
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