delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/31/07:37:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-MailFrom: tprince AT computer DOT org
Message-ID: <472876A1.4060005@computer.org>
Date: Wed, 31 Oct 2007 05:35:45 -0700
From: Tim Prince <tprince AT computer DOT org>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: GCC compiler -m64 option in cygwin
References: <31069 DOT 8817 DOT qm AT web8804 DOT mail DOT in DOT yahoo DOT com>
In-Reply-To: <31069.8817.qm@web8804.mail.in.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

anik pal wrote:
> I have c source
> code of a product which I build in solaris environment
> with  gcc compiler –m64 option to create 64 bit
> executable in solaris 9 environment. 
>
> Now I’ve to do the same task for win environment,
> because the library available for my client is in
> windows environment and the library is 64 bit. I
> attempt to use cygwin for this job. Now my question
> are as follows
>
>  
>
> 1 . using cygwin gcc compiler can I link my source
> code building with the win environment lib? 
> 2. is gcc 64 bit option available in cygwin? 
>
>   
No, there is no 64-bit native support in cygwin. Even on linux, a 
cross-gcc is needed to create 64-bit build on a 32-bit system, and none 
of the required libraries or utilities are generally available as a 
normal installation option. Of course, you can use cygwin as a build 
environment when running non-cygwin 64-bit compilers.
A preliminary 64-bit mingw compiler has appeared, but it seems to have 
difficulties linking with pre-existing libraries.

---AV & Spam Filtering by M+Guardian - Risk Free Email (TM)---


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