Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » I cant create EXE file with MnGW compiler
I cant create EXE file with MnGW compiler [message #28383] Tue, 31 August 2010 13:53 Go to next message
baloghi is currently offline  baloghi
Messages: 4
Registered: August 2010
Junior Member
Hi!
I using XP. I downloaded MINGW from http://nuwen.net/files/mingw/mingw-6.6.exe and installed.
I adjusted compiler, debugger and make program in Helloworld sample
program.
Mingw is in path, but I cant create exe file.

Can You help me?

Thank You very much!
Re: I cant create EXE file with MnGW compiler [message #28399 is a reply to message #28383] Tue, 31 August 2010 15:57 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
baloghi wrote on Tue, 31 August 2010 13:53

Hi!
I using XP. I downloaded MINGW from http://nuwen.net/files/mingw/mingw-6.6.exe and installed.
I adjusted compiler, debugger and make program in Helloworld sample
program.
Mingw is in path, but I cant create exe file.

Can You help me?

Thank You very much!


Hello baloghi

http://nuwen.net/files/mingw/mingw-6.6.exe seems good.

Could you give more details?. Which is the TheIDE output?


Best regards
Iñaki
Re: I cant create EXE file with MnGW compiler [message #28419 is a reply to message #28399] Wed, 01 September 2010 15:23 Go to previous messageGo to next message
baloghi is currently offline  baloghi
Messages: 4
Registered: August 2010
Junior Member
koldo wrote on Tue, 31 August 2010 15:57


Hello baloghi

http://nuwen.net/files/mingw/mingw-6.6.exe seems good.

Could you give more details?. Which is the TheIDE output?



Hello koldo!

Thank you your answer!

I reinstalled mingw with mingw32-get.

The TheIDE output is the next:

hello.cpp
C:\MinGW\bin\mingw32-make: invalid option -- c
C:\MinGW\bin\mingw32-make: invalid option -- Y
C:\MinGW\bin\mingw32-make: invalid option -- E
C:\MinGW\bin\mingw32-make: invalid option -- A
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 2
C:\MinGW\bin\mingw32-make: invalid option -- 0
C:\MinGW\bin\mingw32-make: invalid option -- 1
C:\MinGW\bin\mingw32-make: invalid option -- 0
C:\MinGW\bin\mingw32-make: invalid option -- M
C:\MinGW\bin\mingw32-make: invalid option -- O
C:\MinGW\bin\mingw32-make: invalid option -- N
C:\MinGW\bin\mingw32-make: invalid option -- T
C:\MinGW\bin\mingw32-make: invalid option -- H
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 9
C:\MinGW\bin\mingw32-make: invalid option -- A
C:\MinGW\bin\mingw32-make: invalid option -- Y
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 1
C:\MinGW\bin\mingw32-make: invalid option -- H
C:\MinGW\bin\mingw32-make: invalid option -- O
C:\MinGW\bin\mingw32-make: invalid option -- U
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 1
C:\MinGW\bin\mingw32-make: invalid option -- 5
C:\MinGW\bin\mingw32-make: invalid option -- M
C:\MinGW\bin\mingw32-make: invalid option -- E
C:\MinGW\bin\mingw32-make: invalid option -- 3
C:\MinGW\bin\mingw32-make: invalid option -- 2
C:\MinGW\bin\mingw32-make: invalid option -- a
C:\MinGW\bin\mingw32-make: invalid option -- c
C:\MinGW\bin\mingw32-make: invalid option -- O
C:\MinGW\bin\mingw32-make: invalid option -- 3
C:\MinGW\bin\mingw32-make: invalid option -- x
Usage: mingw32-make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
--eval=STRING Evaluate STRING as a makefile statement.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from recipes.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-L, --check-symlink-times Use the latest mtime between symlinks and target.
-n, --just-print, --dry-run, --recon
Don't actually run any recipe; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no recipe; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo recipes.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.

This program built for i386-pc-mingw32
Report bugs to <bug-make@gnu.org>
HelloWorld: 1 file(s) built in (0:00.12), 120 msecs / file, duration = 180 msecs

OK. (0:00.32)

Thank You very much, that you help me.
Re: I cant create EXE file with MnGW compiler [message #28420 is a reply to message #28383] Wed, 01 September 2010 15:34 Go to previous messageGo to next message
baloghi is currently offline  baloghi
Messages: 4
Registered: August 2010
Junior Member
If i build Hellocpp program then TheIde output is the next:

----- CtrlLib ( GUI GCC32 DEBUG DEBUG_FULL BLITZ WIN32 ) (1 / 9)
BLITZ: LabelBase.cpp Button.cpp Switch.cpp EditField.cpp Text.cpp LineEdit.cpp DocEdit.cpp ScrollBar.cpp Head
erCtrl.cpp ArrayCtrl.cpp MultiButton.cpp PopupTable.cpp DropList.cpp DropChoice.cpp Static.cpp Splitter.c
pp FrameSplitter.cpp SliderCtrl.cpp ColumnList.cpp Progress.cpp AKeys.cpp RichTextView.cpp Prompt.cpp Hel
p.cpp DateTimeCtrl.cpp Bar.cpp MenuItem.cpp MenuBar.cpp ToolButton.cpp ToolBar.cpp ToolTip.cpp StatusBar.
cpp TabCtrl.cpp TreeCtrl.cpp DropTree.cpp DlgColor.cpp ColorPopup.cpp ColorPusher.cpp FileList.cpp FileSe
l.cpp FileSelUtil.cpp PrinterJob.cpp Windows.cpp Win32.cpp TrayIconWin32.cpp TrayIconX11.cpp CtrlUtil.cpp
Update.cpp LNGCtrl.cpp Ch.cpp ChGtk.cpp
C:\MinGW\bin\mingw32-make: invalid option -- c
C:\MinGW\bin\mingw32-make: invalid option -- Y
C:\MinGW\bin\mingw32-make: invalid option -- E
C:\MinGW\bin\mingw32-make: invalid option -- A
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 2
C:\MinGW\bin\mingw32-make: invalid option -- 0
C:\MinGW\bin\mingw32-make: invalid option -- 1
C:\MinGW\bin\mingw32-make: invalid option -- 0
C:\MinGW\bin\mingw32-make: invalid option -- M
C:\MinGW\bin\mingw32-make: invalid option -- O
C:\MinGW\bin\mingw32-make: invalid option -- N
C:\MinGW\bin\mingw32-make: invalid option -- T
C:\MinGW\bin\mingw32-make: invalid option -- H
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 9
C:\MinGW\bin\mingw32-make: invalid option -- A
C:\MinGW\bin\mingw32-make: invalid option -- Y
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 1
C:\MinGW\bin\mingw32-make: invalid option -- H
C:\MinGW\bin\mingw32-make: invalid option -- O
C:\MinGW\bin\mingw32-make: invalid option -- U
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 1
C:\MinGW\bin\mingw32-make: invalid option -- 5
C:\MinGW\bin\mingw32-make: invalid option -- M
C:\MinGW\bin\mingw32-make: invalid option -- E
C:\MinGW\bin\mingw32-make: invalid option -- 3
C:\MinGW\bin\mingw32-make: invalid option -- 2
C:\MinGW\bin\mingw32-make: invalid option -- g
C:\MinGW\bin\mingw32-make: invalid option -- 2
C:\MinGW\bin\mingw32-make: invalid option -- a
C:\MinGW\bin\mingw32-make: invalid option -- c
C:\MinGW\bin\mingw32-make: invalid option -- _
C:\MinGW\bin\mingw32-make: invalid option -- E
C:\MinGW\bin\mingw32-make: invalid option -- U
C:\MinGW\bin\mingw32-make: invalid option -- G
C:\MinGW\bin\mingw32-make: invalid option -- O
C:\MinGW\bin\mingw32-make: invalid option -- 0
C:\MinGW\bin\mingw32-make: invalid option -- g
C:\MinGW\bin\mingw32-make: invalid option -- a
Usage: mingw32-make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
--eval=STRING Evaluate STRING as a makefile statement.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from recipes.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-L, --check-symlink-times Use the latest mtime between symlinks and target.
-n, --just-print, --dry-run, --recon
Don't actually run any recipe; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no recipe; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo recipes.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.

This program built for i386-pc-mingw32
Report bugs to <bug-make@gnu.org>
ChWin32.cpp
C:\MinGW\bin\mingw32-make: invalid option -- c
C:\MinGW\bin\mingw32-make: invalid option -- Y
C:\MinGW\bin\mingw32-make: invalid option -- E
C:\MinGW\bin\mingw32-make: invalid option -- A
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 2
C:\MinGW\bin\mingw32-make: invalid option -- 0
C:\MinGW\bin\mingw32-make: invalid option -- 1
C:\MinGW\bin\mingw32-make: invalid option -- 0
C:\MinGW\bin\mingw32-make: invalid option -- M
C:\MinGW\bin\mingw32-make: invalid option -- O
C:\MinGW\bin\mingw32-make: invalid option -- N
C:\MinGW\bin\mingw32-make: invalid option -- T
C:\MinGW\bin\mingw32-make: invalid option -- H
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 9
C:\MinGW\bin\mingw32-make: invalid option -- A
C:\MinGW\bin\mingw32-make: invalid option -- Y
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 1
C:\MinGW\bin\mingw32-make: invalid option -- H
C:\MinGW\bin\mingw32-make: invalid option -- O
C:\MinGW\bin\mingw32-make: invalid option -- U
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 1
C:\MinGW\bin\mingw32-make: invalid option -- 5
C:\MinGW\bin\mingw32-make: invalid option -- M
C:\MinGW\bin\mingw32-make: invalid option -- E
C:\MinGW\bin\mingw32-make: invalid option -- 3
C:\MinGW\bin\mingw32-make: invalid option -- 2
C:\MinGW\bin\mingw32-make: invalid option -- g
C:\MinGW\bin\mingw32-make: invalid option -- 2
C:\MinGW\bin\mingw32-make: invalid option -- a
C:\MinGW\bin\mingw32-make: invalid option -- c
C:\MinGW\bin\mingw32-make: invalid option -- _
C:\MinGW\bin\mingw32-make: invalid option -- E
C:\MinGW\bin\mingw32-make: invalid option -- U
C:\MinGW\bin\mingw32-make: invalid option -- G
C:\MinGW\bin\mingw32-make: invalid option -- O
C:\MinGW\bin\mingw32-make: invalid option -- 0
C:\MinGW\bin\mingw32-make: invalid option -- g
C:\MinGW\bin\mingw32-make: invalid option -- a
C:\MinGW\bin\mingw32-make: invalid option -- x
Usage: mingw32-make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
--eval=STRING Evaluate STRING as a makefile statement.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from recipes.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-L, --check-symlink-times Use the latest mtime between symlinks and target.
-n, --just-print, --dry-run, --recon
Don't actually run any recipe; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no recipe; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo recipes.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.

This program built for i386-pc-mingw32
Report bugs to <bug-make@gnu.org>
CtrlLib.icpp
C:\MinGW\bin\mingw32-make: invalid option -- c
C:\MinGW\bin\mingw32-make: invalid option -- Y
C:\MinGW\bin\mingw32-make: invalid option -- E
C:\MinGW\bin\mingw32-make: invalid option -- A
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 2
C:\MinGW\bin\mingw32-make: invalid option -- 0
C:\MinGW\bin\mingw32-make: invalid option -- 1
C:\MinGW\bin\mingw32-make: invalid option -- 0
C:\MinGW\bin\mingw32-make: invalid option -- M
C:\MinGW\bin\mingw32-make: invalid option -- O
C:\MinGW\bin\mingw32-make: invalid option -- N
C:\MinGW\bin\mingw32-make: invalid option -- T
C:\MinGW\bin\mingw32-make: invalid option -- H
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 9
C:\MinGW\bin\mingw32-make: invalid option -- A
C:\MinGW\bin\mingw32-make: invalid option -- Y
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 1
C:\MinGW\bin\mingw32-make: invalid option -- H
C:\MinGW\bin\mingw32-make: invalid option -- O
C:\MinGW\bin\mingw32-make: invalid option -- U
C:\MinGW\bin\mingw32-make: invalid option -- =
C:\MinGW\bin\mingw32-make: invalid option -- 1
C:\MinGW\bin\mingw32-make: invalid option -- 5
C:\MinGW\bin\mingw32-make: invalid option -- M
C:\MinGW\bin\mingw32-make: invalid option -- E
C:\MinGW\bin\mingw32-make: invalid option -- 3
C:\MinGW\bin\mingw32-make: invalid option -- 2
C:\MinGW\bin\mingw32-make: invalid option -- g
C:\MinGW\bin\mingw32-make: invalid option -- 2
C:\MinGW\bin\mingw32-make: invalid option -- a
C:\MinGW\bin\mingw32-make: invalid option -- c
C:\MinGW\bin\mingw32-make: invalid option -- _
C:\MinGW\bin\mingw32-make: invalid option -- E
C:\MinGW\bin\mingw32-make: invalid option -- U
C:\MinGW\bin\mingw32-make: invalid option -- G
C:\MinGW\bin\mingw32-make: invalid option -- O
C:\MinGW\bin\mingw32-make: invalid option -- 0
C:\MinGW\bin\mingw32-make: invalid option -- g
C:\MinGW\bin\mingw32-make: invalid option -- a
C:\MinGW\bin\mingw32-make: invalid option -- x
Usage: mingw32-make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
--eval=STRING Evaluate STRING as a makefile statement.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from recipes.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-L, --check-symlink-times Use the latest mtime between symlinks and target.
-n, --just-print, --dry-run, --recon
Don't actually run any recipe; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no recipe; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo recipes.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.

This program built for i386-pc-mingw32
Report bugs to <bug-make@gnu.org>
CtrlLib: 53 file(s) built in (0:00.30), 5 msecs / file, duration = 571 msecs

There were errors. (0:00.68)
Re: I cant create EXE file with MnGW compiler [message #28421 is a reply to message #28420] Wed, 01 September 2010 16:00 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Hello baloghi

Try to install it from one of these places:

- http://sourceforge.net/projects/upp/files/upp/1517/mingw_4_4 _0.7z/download
- http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Inst aller/tdm-gcc-4.5.0.exe/download

I have tried them and they work.


Best regards
Iñaki
Re: I cant create EXE file with MnGW compiler [message #28431 is a reply to message #28383] Wed, 01 September 2010 20:19 Go to previous messageGo to next message
baloghi is currently offline  baloghi
Messages: 4
Registered: August 2010
Junior Member
Hello koldo!
Now it is very good.
Thank You!

[Updated on: Wed, 01 September 2010 20:42]

Report message to a moderator

Re: I cant create EXE file with MnGW compiler [message #28438 is a reply to message #28431] Thu, 02 September 2010 00:15 Go to previous message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Excellent baloghi

We have pending to (re)create a new (old) windows installer with bigger size but with all included just out of the box Rolling Eyes .


Best regards
Iñaki
Previous Topic: uninstalled theIDE by mistake - quick question
Next Topic: Bug in package handling
Goto Forum:
  


Current Time: Fri Mar 29 07:56:58 CET 2024

Total time taken to generate the page: 0.01167 seconds