Help me !!

hi all?

I have installed QNX SDK for window NT.
and I tested 'hello world" in window NT

#include <stdio.h>
int main(void)
{
printf(“hello world”);
return(0);
}

qcc -V gcc_ntox86 hello.c -o hello

I created hello.o but can’t run hello.o at sh shell in window NT.
the following message is error message.

hello: 1: Systax error: “(” unexpected

what is the problem ?

“gye jin” <gyejin@haco.co.kr> wrote in message
news:a74fps$g0d$1@inn.qnx.com

hi all?

I have installed QNX SDK for window NT.
and I tested 'hello world" in window NT

#include <stdio.h
int main(void)
{
printf(“hello world”);
return(0);
}

qcc -V gcc_ntox86 hello.c -o hello

I created hello.o but can’t run hello.o at sh shell in window NT.
the following message is error message.

The executable isn’t hello.o but hello. When you are talking about
sh I assume you mean a remote shell connected to a QNX6 machine right?

hello: 1: Systax error: “(” unexpected

what is the problem ?

\

No !

I wish to compile any codes in windows NT enviroment using QNX compiler such
as qcc
then run the executable of this code in windows NT.
my question is it is possible or not ?

I see there is a shell command in Windows NT,
sh.exe(…QNXsdk\host\win32\binwin\sh.exe)
so try to running the executable of the following code using sh.exe.
but I don’t run the executable.

My purpose is to apply the Makefile project of Visual C++ tool to compile
any code,
ofcourse,as using QNX compiler. then wish to run this executable in QNX6
machine.


“Mario Charest” <goto@nothingness.com> wrote in message
news:a74l87$jms$1@inn.qnx.com

“gye jin” <> gyejin@haco.co.kr> > wrote in message
news:a74fps$g0d$> 1@inn.qnx.com> …
hi all?

I have installed QNX SDK for window NT.
and I tested 'hello world" in window NT

#include <stdio.h
int main(void)
{
printf(“hello world”);
return(0);
}

qcc -V gcc_ntox86 hello.c -o hello

I created hello.o but can’t run hello.o at sh shell in window NT.
the following message is error message.

The executable isn’t hello.o but hello. When you are talking about
sh I assume you mean a remote shell connected to a QNX6 machine right?


hello: 1: Systax error: “(” unexpected

what is the problem ?



\

gye jin <gyejin@haco.co.kr> wrote in article <a76nfj$4e2$1@inn.qnx.com>…

No !

I wish to compile any codes in windows NT enviroment using QNX compiler such
as qcc

Why? I guess there is only one reasonable answer: you wish to run the executable in QNX

then run the executable of this code in windows NT.

Use win32 compilers in order to get the executable for windows NT. As an option, you can use gcc
(qcc is just frontend for gcc), for example mingw (i386-mingw32) :

Web: http://www.xraylith.wisc.edu/~khan/software/gnu-win32/
FTP: ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/gcc-2.95.2/

my question is it is possible or not ?

Sorry, I’m not sure I quite understand the other stuff you ask for, it’s outside of my knowledge. I
don’t believe you have the QNX simulator in windows NT.

– ed1k.

I see there is a shell command in Windows NT,
sh.exe(…QNXsdk\host\win32\binwin\sh.exe)
so try to running the executable of the following code using sh.exe.
but I don’t run the executable.

My purpose is to apply the Makefile project of Visual C++ tool to compile
any code,
ofcourse,as using QNX compiler. then wish to run this executable in QNX6
machine.


“Mario Charest” <> goto@nothingness.com> > wrote in message
news:a74l87$jms$> 1@inn.qnx.com> …

“gye jin” <> gyejin@haco.co.kr> > wrote in message
news:a74fps$g0d$> 1@inn.qnx.com> …
hi all?

I have installed QNX SDK for window NT.
and I tested 'hello world" in window NT

#include <stdio.h
int main(void)
{
printf(“hello world”);
return(0);
}

qcc -V gcc_ntox86 hello.c -o hello

I created hello.o but can’t run hello.o at sh shell in window NT.
the following message is error message.

The executable isn’t hello.o but hello. When you are talking about
sh I assume you mean a remote shell connected to a QNX6 machine right?


hello: 1: Systax error: “(” unexpected

what is the problem ?






\

hi.

Can you tell me where to find the QNX SDK for windows?

Thanks.

Go to www.qnx.com and get the phone number (or email address) of the Sales
department. If you call them up, they’ll be more than happy to sell you a
development seat.

cheers,

Kris

“Ehflorida” <ehflorida@bol.com.br> wrote in message
news:actam1$cpa$1@inn.qnx.com

hi.

Can you tell me where to find the QNX SDK for windows?

Thanks.

Thanks,

I thought it is a free software.

I’ll continue to look for a IDE under GNU license.

Well, if you’re interested in doing QNX self hosted development, Michel
Belanger wrote the excellent (and free) IDE called Workspace
http://pages.infinit.net/micbel/. There is also a freely downloadable
version of QNX that anyone can use (self-hosted) for personal and evaluation
purposes at http://get.qnx.com.

cheers,

Kris

“Ehflorida” <ehflorida@bol.com.br> wrote in message
news:actu5f$psj$1@inn.qnx.com

Thanks,

I thought it is a free software.

I’ll continue to look for a IDE under GNU license.
\

Ehflorida <ehflorida@bol.com.br> wrote:

Thanks,

I thought it is a free software.

I’ll continue to look for a IDE under GNU license.

Source Navigator http://sources.redhat.com/sourcenav/
has been ported to qnx.
With the new XPhoton, it should just work great.
frank