User forums > Using Code::Blocks

D language support

<< < (2/3) > >>

takeshimiya:

--- Quote from: StefanLi on April 24, 2006, 02:39:16 pm ---rcc.exe <IN> -o<OUT> -32 -r

Is there a place where I can define that?

--- End quote ---
Yes, Settings->Compiler and Debugger->Tab "Other"->Advanced Options.

If you change it to the correct version, please submit a patch.

StefanLi:
I changed the "win32 compile resource file" to:
$rescomp $file -o$resource_output -32 -r

and I changed the "Link object files to executable" to:
$linker $exe_output $link_options $link_objects $link_resobjects $libs

With that it builds!!!

Sorry, but I have no idea what to do for submitting a patch and additionally I am very unsure whether my changes are "universally" enough!

Stefan

Michael:

--- Quote from: StefanLi on April 24, 2006, 03:50:05 pm ---Sorry, but I have no idea what to do for submitting a patch and additionally I am very unsure whether my changes are "universally" enough!

--- End quote ---

You can submit your patch here on BerliOS.

Best wishes,
Michael

StefanLi:
Sadly, this did not solve all my problems. What now is missing is the ability to pass a *.def file to the linker, so that the app. gets linked as a windows GUI executable.
Within the "advanced options" I tried it with $def_output but that did not work.
Any ideas, advices?

Stefan

StefanLi:
Found a solution for my problem. I placed the required .def file in the project root, gave it the name of my project (plus .def) and than I changed the "Link object files to executable" to:
$linker $exe_output $link_options $link_objects $(PROJECT_DIR)/$(PROJECT_NAME).def $link_resobjects $libs

Michael, I do not have any C::B sources and obviously I do not know where these settings go in. So creating a diff is not that easy for me. Do you know whom I could forward these "patches".

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version