PhAB on QNX 6.3 - where are compiler options?

PhAB under QNX 6.21 had an “advanced options” button, which
allowed changing the options on the build command line. That’s
not present in the version for QNX 6.3. How do I do that?
I want to invoke QCC instead of qcc, so I can use C++.
This works fine on QNX 6.21.

John Nagle
Team Overbot

John Nagle <nagle@overbot.com> wrote:
JN > PhAB under QNX 6.21 had an “advanced options” button, which
JN > allowed changing the options on the build command line. That’s
JN > not present in the version for QNX 6.3. How do I do that?
JN > I want to invoke QCC instead of qcc, so I can use C++.
JN > This works fine on QNX 6.21.

JN > John Nagle
JN > Team Overbot

I let PhAB generate the original Makefile and then I edit it. You can
change it any way you want after it’s been created the first time.

That’s a workaround. Was the correct way to do this removed?

John Nagle
Team Overbot

Bill Caroselli wrote:

John Nagle <> nagle@overbot.com> > wrote:
JN > PhAB under QNX 6.21 had an “advanced options” button, which
JN > allowed changing the options on the build command line. That’s
JN > not present in the version for QNX 6.3. How do I do that?
JN > I want to invoke QCC instead of qcc, so I can use C++.
JN > This works fine on QNX 6.21.

JN > John Nagle
JN > Team Overbot

I let PhAB generate the original Makefile and then I edit it. You can
change it any way you want after it’s been created the first time.

Click on the Project menu button and select Properities to bring up the
Project Properties dialog. In the dialog, select the Build and Debug Options
tab. Set the properties you need.

“John Nagle” <nagle@overbot.com> wrote in message
news:4130004E.2010109@overbot.com

PhAB under QNX 6.21 had an “advanced options” button, which
allowed changing the options on the build command line. That’s
not present in the version for QNX 6.3. How do I do that?
I want to invoke QCC instead of qcc, so I can use C++.
This works fine on QNX 6.21.

John Nagle
Team Overbot

Thanks.

I see what’s happening. PhAb under QNX 6.21 uses its own
makefile system. PhAb under QNX 6.3 uses the recursive buildfile
system. If you open a 6.21 under 6.3. it almost works. If
you had custom build properties under 6.21, PhAb under
6.3 knows about them. But PhAb under 6.3 sets different variables
before invoking the new makefiles, so the custom build properties
aren’t used.

Is there some way to force PhAB to regenerate the
makefile? Just deleting the makefile does not do this.

(I want to stay with PhAB, not convert to Eclipse.)

John Nagle

John McClurkin wrote:

Click on the Project menu button and select Properities to bring up the
Project Properties dialog. In the dialog, select the Build and Debug Options
tab. Set the properties you need.

“John Nagle” <> nagle@overbot.com> > wrote in message
news:> 4130004E.2010109@overbot.com> …

PhAB under QNX 6.21 had an “advanced options” button, which
allowed changing the options on the build command line. That’s
not present in the version for QNX 6.3. How do I do that?
I want to invoke QCC instead of qcc, so I can use C++.
This works fine on QNX 6.21.

In the Build and Debug Options tab of the Project Properties dialog, click
Manage Targets. Use the Delete target button to delete the target whose
makefile you want to regenerate and remove the makefile. Now use the Add
target button to add that target back. Finally, select the Generate UI item
from the Build menu to regenerate the makefile.

“John Nagle” <nagle@overbot.com> wrote in message
news:ch0nvf$r1e$1@inn.qnx.com

Thanks.

I see what’s happening. PhAb under QNX 6.21 uses its own
makefile system. PhAb under QNX 6.3 uses the recursive buildfile
system. If you open a 6.21 under 6.3. it almost works. If
you had custom build properties under 6.21, PhAb under
6.3 knows about them. But PhAb under 6.3 sets different variables
before invoking the new makefiles, so the custom build properties
aren’t used.

Is there some way to force PhAB to regenerate the
makefile? Just deleting the makefile does not do this.

(I want to stay with PhAB, not convert to Eclipse.)

John Nagle

John McClurkin wrote:
Click on the Project menu button and select Properities to bring up the
Project Properties dialog. In the dialog, select the Build and Debug
Options
tab. Set the properties you need.

“John Nagle” <> nagle@overbot.com> > wrote in message
news:> 4130004E.2010109@overbot.com> …

PhAB under QNX 6.21 had an “advanced options” button, which
allowed changing the options on the build command line. That’s
not present in the version for QNX 6.3. How do I do that?
I want to invoke QCC instead of qcc, so I can use C++.
This works fine on QNX 6.21.

Thanks. Figured that out already.

Now I just have to find out what I use instead of

make -e CC=“QCC”

which worked with the old makefiles. Tried

make -e CC_HOST=“QCC”

but that had no effect. Thanks.

John Nagle
Team Overbot

John McClurkin wrote:

In the Build and Debug Options tab of the Project Properties dialog, click
Manage Targets. Use the Delete target button to delete the target whose
makefile you want to regenerate and remove the makefile. Now use the Add
target button to add that target back. Finally, select the Generate UI item
from the Build menu to regenerate the makefile.

“John Nagle” <> nagle@overbot.com> > wrote in message
news:ch0nvf$r1e$> 1@inn.qnx.com> …

Thanks.

I see what’s happening. PhAb under QNX 6.21 uses its own
makefile system. PhAb under QNX 6.3 uses the recursive buildfile
system. If you open a 6.21 under 6.3. it almost works. If
you had custom build properties under 6.21, PhAb under
6.3 knows about them. But PhAb under 6.3 sets different variables
before invoking the new makefiles, so the custom build properties
aren’t used.

Is there some way to force PhAB to regenerate the
makefile? Just deleting the makefile does not do this.

(I want to stay with PhAB, not convert to Eclipse.)

John Nagle

John McClurkin wrote:

Click on the Project menu button and select Properities to bring up the
Project Properties dialog. In the dialog, select the Build and Debug

Options

tab. Set the properties you need.

“John Nagle” <> nagle@overbot.com> > wrote in message
news:> 4130004E.2010109@overbot.com> …


PhAB under QNX 6.21 had an “advanced options” button, which
allowed changing the options on the build command line. That’s
not present in the version for QNX 6.3. How do I do that?
I want to invoke QCC instead of qcc, so I can use C++.
This works fine on QNX 6.21.