Author Topic: Am I missing something? - unrecognized options  (Read 9608 times)

Anonymous

  • Guest
Am I missing something? - unrecognized options
« on: February 20, 2005, 06:35:27 pm »
Hi, this is actualy not a problem, it's just something that seems strange...

I'm using VC++ 2003 toolkit, and everytime I compile a project I get the following warnings (I have lvl 3 warnings enabled):

Linking executable: Debug\lightmapper.exe
LINK : warning LNK4044: unrecognized option '/lstdc++'; ignored
LINK : warning LNK4044: unrecognized option '/lgcc'; ignored
LINK : warning LNK4044: unrecognized option '/lgdi32'; ignored
LINK : warning LNK4044: unrecognized option '/lcomdlg32'; ignored
LINK : warning LNK4044: unrecognized option '/lodbc32'; ignored
LINK : warning LNK4044: unrecognized option '/lwsock32'; ignored
LINK : warning LNK4044: unrecognized option '/lwinspool'; ignored
LINK : warning LNK4044: unrecognized option '/lwinmm'; ignored
LINK : warning LNK4044: unrecognized option '/lshell32'; ignored
LINK : warning LNK4044: unrecognized option '/lcomctl32'; ignored
LINK : warning LNK4044: unrecognized option '/lctl3d32'; ignored
LINK : warning LNK4044: unrecognized option '/ladvapi32'; ignored
LINK : warning LNK4044: unrecognized option '/lopengl32'; ignored
LINK : warning LNK4044: unrecognized option '/lglu32'; ignored
LINK : warning LNK4044: unrecognized option '/lole32'; ignored
LINK : warning LNK4044: unrecognized option '/loleaut32'; ignored
LINK : warning LNK4044: unrecognized option '/luuid'; ignored
Process terminated with status 0 (0 minutes, 10 seconds)
0 errors, 0 warnings

I just wanted to know why is Code::Blocks sending invalid options for the compiler (is it something I forgot to configurate?)

Also, I've tried tweaking some options in the compiler settings like "Optimize for windows application" and "Produce debugging symbols" but, when I open the compiled exe in an hex-editor and compare it with one that was compiled with these options disabled, then both are identical (??)

The programs work perfectly so this isn't a problem, I just want to know whether I'm doing something wrong with the compiler configurations...

Thanks

Offline rz950

  • Multiple posting newcomer
  • *
  • Posts: 13
Am I missing something? - unrecognized options
« Reply #1 on: February 20, 2005, 06:47:05 pm »
the stuff it is linking are for mingw /lgcc is not a msvc++ thing
you have the wrong options remove /lgcc and then the rest must be
you are missing libs.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Am I missing something? - unrecognized options
« Reply #2 on: February 20, 2005, 08:42:05 pm »
This forum has a search feature. Use it, please!

Anyway, the templates for new projects are currently configured for GCC, so their options are initially set for this compiler. Either you change the compiler options every time you create a new project, or do it once and save it as a user template (Project/Save project as user template) and use this template for new projects.

Yiannis.
Be patient!
This bug will be fixed soon...

Anonymous

  • Guest
Am I missing something? - unrecognized options
« Reply #3 on: February 20, 2005, 11:24:51 pm »
"This forum has a search feature. Use it, please!"
I'm so sorry  :oops:

Well, problem solved, thanks a lot guys... CB roxs!