Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Riccardoilfigo on May 07, 2007, 06:01:21 pm

Title: how set parameter for g++
Post by: Riccardoilfigo on May 07, 2007, 06:01:21 pm
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
Title: Re: how set parameter for g++
Post by: darthdespotism on May 07, 2007, 07:44:02 pm
Go Project->BuiltOptions.
There you can select SearchDirectories in the second ComboBox und set the -I und -L Paths
Title: Re: how set parameter for g++
Post by: Riccardoilfigo on May 08, 2007, 05:57:23 pm
ok,

thanks a lot

riccardo