gcc on Windows

I’ve just installed Windows cross platform QNX SDK.
It seems to be ok.
Alas to my amusement I could not find gcc compiler only qcc front end.
Documentation for qcc is a bit short to put it mildly.
Why did QSSL make unavailable very well documented command line
interface of gcc? that’s the question.
Just an example, how can I tell the qcc compiler to optimize code for
pentium
or pentiumpro cpu?

cheers,
Igor

Igor Levko <i_levko@hotmail.com> wrote:

Hello Igor,

I’ve just installed Windows cross platform QNX SDK.
It seems to be ok.
Alas to my amusement I could not find gcc compiler only qcc front end.
Documentation for qcc is a bit short to put it mildly.
Why did QSSL make unavailable very well documented command line
interface of gcc? that’s the question.
Just an example, how can I tell the qcc compiler to optimize code for
pentium
or pentiumpro cpu?

Try using -Wphase,arg[,arg…] on your qcc line, ie for are compiler
you would use -Wc,arg.
“p” - preprocessor
“c” - compiler
“l” - linker
“a” - assembler

Best Regards,

Marcin

cheers,
Igor

Thanks for the help Marcin.

Do you have any plans to make gcc available? I think many
people from unix community get use to it.

Also, Do you plan to document qcc’s config file(s)?

cheers,
Igor

For now, it’s kind of strange.
“Tools Mail Account” <tools@qnx.com> wrote in message
news:9vtbhb$msm$1@nntp.qnx.com

Igor Levko <> i_levko@hotmail.com> > wrote:

Hello Igor,

I’ve just installed Windows cross platform QNX SDK.
It seems to be ok.
Alas to my amusement I could not find gcc compiler only qcc front end.
Documentation for qcc is a bit short to put it mildly.
Why did QSSL make unavailable very well documented command line
interface of gcc? that’s the question.
Just an example, how can I tell the qcc compiler to optimize code for
pentium
or pentiumpro cpu?

Try using -Wphase,arg[,arg…] on your qcc line, ie for are compiler
you would use -Wc,arg.
“p” - preprocessor
“c” - compiler
“l” - linker
“a” - assembler

Best Regards,

Marcin

cheers,
Igor

Igor Levko <i_levko@hotmail.com> wrote:

Thanks for the help Marcin.

Do you have any plans to make gcc available? I think many
people from unix community get use to it.

I don’t think we’ll ever ship those, check http://www.cygwin.com/

Also, Do you plan to document qcc’s config file(s)?

At this moment we don’t have any plans to doc these files.

Regards,

Marcin

cheers,
Igor

For now, it’s kind of strange.
“Tools Mail Account” <> tools@qnx.com> > wrote in message
news:9vtbhb$msm$> 1@nntp.qnx.com> …
Igor Levko <> i_levko@hotmail.com> > wrote:

Hello Igor,

I’ve just installed Windows cross platform QNX SDK.
It seems to be ok.
Alas to my amusement I could not find gcc compiler only qcc front end.
Documentation for qcc is a bit short to put it mildly.
Why did QSSL make unavailable very well documented command line
interface of gcc? that’s the question.
Just an example, how can I tell the qcc compiler to optimize code for
pentium
or pentiumpro cpu?

Try using -Wphase,arg[,arg…] on your qcc line, ie for are compiler
you would use -Wc,arg.
“p” - preprocessor
“c” - compiler
“l” - linker
“a” - assembler

Best Regards,

Marcin

cheers,
Igor

Igor Levko <i_levko@hotmail.com> wrote:
: I’ve just installed Windows cross platform QNX SDK.
: It seems to be ok.
: Alas to my amusement I could not find gcc compiler only qcc front end.
: Documentation for qcc is a bit short to put it mildly.
: Why did QSSL make unavailable very well documented command line
: interface of gcc? that’s the question.

Because when doing cross-platform developement the driver most know
where things are to do proper linking/preprocessor etc … instead of forcing
the gcc driver to do things that it may not want to do and maintain our own
set of patches, it was easier to have our own driver. Also if we ever
change compiler, one will not have to relearn an entire set of new options.
It was a pain when doing this with Watcom vs gcc.
There are other reasons that you may or may not find sufficient.
Usually, the gcc driver is also ship with RTP but perhaps not with the cross SDK.
Lets minimize the point of failures.

But if push come to shove the src is always there.

: Just an example, how can I tell the qcc compiler to optimize code for
: pentium
: or pentiumpro cpu?

Others have already respond to this.

: cheers,
: Igor

If you want the code for gcc, you can go to our developers site @
http://developers.qnx.com/Ports/
There you will find lots of stuff, our binutils, gdb, etc…

Francois

Tools Mail Account <tools@qnx.com> wrote in message
news:9vtn1q$2a4$1@nntp.qnx.com

Igor Levko <> i_levko@hotmail.com> > wrote:
Thanks for the help Marcin.

Do you have any plans to make gcc available? I think many
people from unix community get use to it.

I don’t think we’ll ever ship those, check > http://www.cygwin.com/

Also, Do you plan to document qcc’s config file(s)?

At this moment we don’t have any plans to doc these files.

Regards,

Marcin

cheers,
Igor

For now, it’s kind of strange.
“Tools Mail Account” <> tools@qnx.com> > wrote in message
news:9vtbhb$msm$> 1@nntp.qnx.com> …
Igor Levko <> i_levko@hotmail.com> > wrote:

Hello Igor,

I’ve just installed Windows cross platform QNX SDK.
It seems to be ok.
Alas to my amusement I could not find gcc compiler only qcc front
end.
Documentation for qcc is a bit short to put it mildly.
Why did QSSL make unavailable very well documented command line
interface of gcc? that’s the question.
Just an example, how can I tell the qcc compiler to optimize code for
pentium
or pentiumpro cpu?

Try using -Wphase,arg[,arg…] on your qcc line, ie for are compiler
you would use -Wc,arg.
“p” - preprocessor
“c” - compiler
“l” - linker
“a” - assembler

Best Regards,

Marcin

cheers,
Igor
\

Is gcc 3.0 going to be available anytime soon? Version 2.95 is a couple of
years old already. I ask because I need a Fortran compiler.

Andy