Socket programming in PhAB

Hello,

I need to do socket programming in PhAb. If i write text based
applications, I can compile it with option “-l socket”.
In PhAB how to set this option ?

Regards
Prabha

hi

you can append this option in the generated “abLfiles”-file by
double-clicking on this file directly in the make-dialog

problem is: after next source-generation this option will be overwritten

perhaps there’s a better solution

regards
mirtch

Prbs wrote:

Hello,

I need to do socket programming in PhAb. If i write text based
applications, I can compile it with option “-l socket”.
In PhAB how to set this option ?

Regards
Prabha

mirtch <mirtch@gmx.net> wrote:
: hi

: you can append this option in the generated “abLfiles”-file by
: double-clicking on this file directly in the make-dialog

: problem is: after next source-generation this option will be overwritten

: perhaps there’s a better solution

There is, and the docs explain how to do it. :slight_smile:

Go to the Photon Programmer’s Guide, and look in the index under “libraries,
adding” – it takes you right to the information you need.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

I believe that you can edit the makefile. PhAB won’t overwrite these unless
you delete them.


mirtch <mirtch@gmx.net> wrote:

hi

you can append this option in the generated “abLfiles”-file by
double-clicking on this file directly in the make-dialog

problem is: after next source-generation this option will be overwritten

perhaps there’s a better solution

regards
mirtch

Prbs wrote:

Hello,

I need to do socket programming in PhAb. If i write text based
applications, I can compile it with option “-l socket”.
In PhAB how to set this option ?

Regards
Prabha