473,811 Members | 3,610 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Eclipse, Windows, cygwin and MinGW

I have both mingw and cygwin on a Windows machine.
I have installed Eclipse, with the CDT, and written a 'Hello World' test
program.

I would like Eclipse to use the mingw complier but looking through the
project's settings Eclipse seems to have created its own PATH variable
with c:/cygwin/bin ahead of a suitable path to the mingw binaries.

I can't figure out how to tell Eclipse that I do not want c:/cygwin /bin
in the path (editing doesn't seem to be enabled). Moreover, my Windows
environment variables do not refer to cygwin or mingw directories!

Any suggestions?

Mar 2 '06 #1
1 3580
* Brian Hall:
I have both mingw and cygwin on a Windows machine.
I have installed Eclipse, with the CDT, and written a 'Hello World' test
program.

I would like Eclipse to use the mingw complier but looking through the
project's settings Eclipse seems to have created its own PATH variable
with c:/cygwin/bin ahead of a suitable path to the mingw binaries.

I can't figure out how to tell Eclipse that I do not want c:/cygwin /bin
in the path (editing doesn't seem to be enabled). Moreover, my Windows
environment variables do not refer to cygwin or mingw directories!

Any suggestions?


Yes, post in a relevant group. ;-)

You're off-topic here.

This group deals with C++, not configuration of Eclipse.

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Mar 2 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4520
by: David Isal | last post by:
hi all, i'm new to python and i'm trying to build a python extension on win98, written in c++, with cygwin. but i keep having the same error message, and i didnt't find much resources on the web about it: >g++ -I/cygdrive/c/python22/include -c demomodule.cpp -o demomodule.o In file included from /cygdrive/c/python22/include/Python.h:62, from demomodule.cpp:1: /cygdrive/c/python22/include/pyport.h:480:2: #error "LONG_BIT definition
0
2285
by: peter | last post by:
Hello all, I would like to debug my python libraries, written in c++, with GDB (gnu debugger) I'm using the mingw compiler in a windows environment. As development environment I use eclipse with the CDT plugin. This plugin also has a nice GUI frontend for the GDB. I've already tried several setups, no setup seemed to work.
4
1676
by: Derek | last post by:
Hi, I am taking introductory C++ in college, and we use MS Visual C++ in class. :-( I want to be independent from Microsoft (or as independent as I can be while developing on Windows!) Are there any good, easy-to-use GNU compilers for windows? What do you recommend? Thanks,
16
10066
by: Weasel | last post by:
What do i use to compile , and basically program in windows? Since at home i use linux, but at school they dont have linux... what can i use?
7
1923
by: sam1967 | last post by:
Hi Ive written some C Maths programs to compute Bernoulli numbers and Stirling numbers using the GMP library. These have been compiled on a Knoppix/Debian PC using gcc. I would like to port them to windows. what is the best free C compiler for handling GMP on Windows ? Ive heard people here mention MINGW . will that handle GMP ?
27
3986
by: Julien Fiore | last post by:
Do you wand to install Pyrex on Windows ? Here is a step-by-step guide explaining: A) how to install Pyrex on Windows XP. B) how to compile a Pyrex module. Julien Fiore, U. of Geneva
6
2242
by: JW | last post by:
I have a lousy little Python extension, generated with the generous help of Pyrex. In Linux, things are simple. I compile the extension, link it against some C stuff, and *poof*! everything works. My employer wants me to create a Windows version of my extension that works with the vanilla Python 2.5 from python.org. My employment contract states that I won't be required to run Windows, and I desperately want to honor that clause....
4
4050
by: Scott Meyers | last post by:
I'm interested in experimenting with the TR1 functionality in g++ (per http://gcc.gnu.org/onlinedocs/libstdc++/ext/tr1.html). My understanding is that this is part of libstd++ only as of g++ 4. I'm currently using a MinGW port that contains g++ 3.4.2, and there does not appear to be any TR1 functionality in the version of libstdc++ that ships with that release. Ideally, I'd like to upgrade to g++ 4 on Windows 2000, but I'd prefer to...
10
8545
by: Gotch | last post by:
Hi all, I've installed the CDT plugin for Eclipse and I want to use it to work on C/C++ projects under Cygwin. It works, in fact it compiles and runs the usual helloworld c++ program. Now it comes difficult when I try to add external libs. Such as... GTK. Let's explain what I tried. (oh well, I'm using Eclipse Europa 3.3.1 and CDT 4.0.1). First I just added the path of the cygwin includes throug the project->properties- GNU C the path to...
0
9604
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10644
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10394
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10127
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7665
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6882
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4336
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3863
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.