linker problem

I receive QNX evaluation kit and I haven’t been able to compile any program because of problem with the linker.


1… When I use cc -g command I receive error 2008 – cannot open “file name”: no such file or directory. The object file is created and it contains same information. The object file is all ways in the main directory regardless the path of the original file that I want to compile.


2… When I use wpp -g commend I receive error E0059 –unable to open file stdio

What I should do?

In article <8nr4jp$m3i$1@news.netvision.net.il>, "tamar says…

This is a multi-part message in MIME format.

------=_NextPart_000_0027_01C00B7D.ABEFA240
Content-Type: text/plain;
charset=“windows-1255”
Content-Transfer-Encoding: quoted-printable

I receive QNX evaluation kit and I haven=92t been able to compile any =
program because of problem with the linker.


1… When I use cc -g command I receive error 2008 =96 cannot open =
=93file name=94: no such file or directory. The object file is created =
and it contains same information. The object file is all ways in the =
main directory

… you mean the root (/) directory? Has the name of the object file two
preceding slashes? (//)

If yes … that is still a well known old problem of cc =:-/

regardless the path of the original file that I want to =
compile.


2… When I use wpp -g commend I receive error E0059 =96unable to open =
file stdio

What I should do?

Move your sources to a sub directory … cd into it and compile.

Regards

Armin