User forums > Using Code::Blocks

how set parameter for g++

(1/1)

Riccardoilfigo:
Hy guys,
I'm riccardo and write from italy,
I'm new of this forum and c++ programming.

I would a suggestion for using systemc in CB.

for compile in from bash I do in this way:
g++ -I /usr/local/systemc-2.2/include/ -L /usr/local/systemc-2.2/lib-linux/ -lsystemc -lm -o sim ./main.cpp
its work!

Now, my question is: how i obtain the same result with CB?
Do I setting something? How?

I have version: svn build rev 3816

thank in advance e I'm sorry for my bad english
Riccardo

darthdespotism:
Go Project->BuiltOptions.
There you can select SearchDirectories in the second ComboBox und set the -I und -L Paths

Riccardoilfigo:
ok,

thanks a lot

riccardo

Navigation

[0] Message Index

Go to full version