Mail Archives: djgpp/1998/09/11/20:00:58
Thiago F.G. Albuquerque (thiagofga AT ambr DOT com DOT br) wrote:
> Hi,
> I tried to compile the little 'Hello World' program that came in RSXNTDJ's
> help file and got this:
> Error: c:/djgpp/bin/ld.exe: cannot open -lc_app: No such file or directory
> (ENOENT)
> I found this library (Libc_app.a) in directory RSXNTDJ\Lib\Mt, but this
> directory wasn't included in the path in the specs file (which reads like
> this):
> %{Zwin32: -Lc:/djgpp/rsxntdj/lib/all}
> So I moved all the files in this directory to RSXNTDJ\Lib\All and managed
> to compile the code. Then I went to move the libraries in the St directory
> (as it wasn't in the path either), just to discover that the libraries in
> this directory had the same names as the ones in Mt, so I can't make them
> coexist with the others in the same directory. Can anyone tell me what all
> this stuff means? What is the difference between the files in Mt and in the
> St directories?
> And I feel I must be doing something dummy here. The author of RSX must
> have had good reasons to make things the way he did. I shouldn't be moving
> files around. Can anybody help?
> Thanks,
> Thiago
the mt directory is for multi-thread programs, and st directory is for
single-thread. I changed the *link: line in the specs file as follows:
*link:
%{Zwin32: -Lc:/djgpp/rsxntdj/lib/all -Lc:/djgpp/rsxntdj/lib/{%Zmt:mt}{%!Zmt:st}}
so that it selects the corresponding directory base on the -Zmt option.
Mandr
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
____ Albert Kwong - Computer Engineering - U of Alberta
Mountain-| \ email - akwong AT ee DOT ualberta DOT ca
| )-Mandr phone - (Edmonton) 403-437-4167 (HK) 852-23622744
River-|____ / www - http://www.ee.ualberta.ca/~akwong
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Raw text -