Author Topic: how set parameter for g++  (Read 4755 times)

Riccardoilfigo

  • Guest
how set parameter for g++
« 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

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: how set parameter for g++
« Reply #1 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

Riccardoilfigo

  • Guest
Re: how set parameter for g++
« Reply #2 on: May 08, 2007, 05:57:23 pm »
ok,

thanks a lot

riccardo