Crystal Space
Welcome, Guest. Please login or register.
September 21, 2014, 07:30:46 am

Login with username, password and session length
Search:     Advanced search
9018 Posts in 2051 Topics by 8494 Members
Latest Member: Onapthanh
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  gcc -mno-cygwin (compiler flag no longer exists)
« previous next »
Pages: [1] Print
Author Topic: gcc -mno-cygwin (compiler flag no longer exists)  (Read 2834 times)
Almo
Newbie
*
Posts: 2


View Profile Email
« on: July 12, 2010, 08:23:20 pm »

Hi!

I'm working with Cygwin under Windows, and it looks like -mno-cygwin is no longer supported. From config.log:

Code:
configure:2457: result: gcc -mno-cygwin
configure:2689: checking for C compiler version
configure:2697: gcc -mno-cygwin --version >&5
gcc: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler.

The install info says to do

./configure
jam all

But ./configure stops saying that the compiler "cannot create executables."
Does this mean I need to install mingw?
Logged
res
Develazyoper
CS Developer
Full Member
*****
Posts: 206


View Profile Email
« Reply #1 on: July 12, 2010, 11:24:32 pm »

Maybe Cygwin has a package for a “a mingw-targeted cross-compiler”; that might work as well.

Note that MinGW/MSYS is the recommended way to build with gcc on Windows anyway. Building on Cygwin is rarely done (and may be broken).
Logged
Almo
Newbie
*
Posts: 2


View Profile Email
« Reply #2 on: July 13, 2010, 02:04:31 am »

Ok, will try that. Thanks.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.403 seconds with 15 queries.