From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28619 invoked by alias); 31 Mar 2008 10:17:22 -0000 Received: (qmail 28570 invoked by uid 22791); 31 Mar 2008 10:17:21 -0000 X-Spam-Check-By: sourceware.org Received: from mail13.syd.optusnet.com.au (HELO mail13.syd.optusnet.com.au) (211.29.132.194) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 31 Mar 2008 10:16:57 +0000 Received: from desktop2 ([203.202.164.190]) by mail13.syd.optusnet.com.au (8.13.1/8.13.1) with SMTP id m2VAGiFY016281; Mon, 31 Mar 2008 21:16:48 +1100 Message-ID: <52D6E656493E4CDFBF660640FCF31B06@desktop2> From: "Sisyphus" To: "NightStrike" Cc: References: <085501c88d16$4eeb9cc0$6401a8c0@freemanwrwu5by> <47E6C61A.1000102@myrealbox.com> <6CC8005619174DB7AAD6125D19B0DECF@desktop2> In-Reply-To: <6CC8005619174DB7AAD6125D19B0DECF@desktop2> Subject: Re: gcc for windows Date: Mon, 31 Mar 2008 10:17:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Windows Mail 6.0.6000.20661 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg00325.txt.bz2 ----- Original Message ----- From: "Sisyphus" . . > Thanks for the link, NightStrike - it was worth a shot. (And, I might even > have some success, yet, if I persevere.) Seems to work ok if I: 1) also add x86_64-pc-mingw32\bin and libexec\gcc\x86_64-pc-mingw32\4.4.0 to the path; 2) set the CPATH environment variable to include both the x86_64-pc-mingw32\include and include folders; 3) set the LIBRARY_PATH environment variable to include the x86_64-pc-mingw32\lib, lib and lib\gcc\x86_64-pc-mingw32\4.4.0 folders. I can then even compile C programs that need to link to the gmp and mpfr libraries (as supplied in mingw-w64-bin-gmp-mpfr.tar.bz2 , which is also available from http://sourceforge.net/project/showfiles.php?group_id=202880&package_id=245516&release_id=546049 ) . This workaround (to what still has all the hallmarks of being the "Vista access problem") has probably always existed, but it's only in the last week or so that I found out about the CPATH and LIBRARY_PATH environment variables. So it looks like I might have something to work with at last - though it's still early days, and I'm not yet ready to declare "problems solved". Cheers, Rob