Mail Archives: djgpp/1998/11/07/07:10:10
First let me state that I've never used rsx-ide.
Francisco Melo Ledermann (fmelo AT flute DOT rockefeller DOT edu) wrote:
: Hi !,
:
: I have a project that involves 2 files: cro.c and cgic.c
:
: When I compile using RSXWIN32 as follows:
:
: gcc -Zwin32 -Wall -c -o cro.o cro.c
: gcc -Zwin32 -Wall -c -o cgic.o cgic.c
: gcc -Zwin32 -o cro.exe cro.o cgic.o
: -Lc:/djgpp/rsxntdj/lib/mt/libc_app.a
This can't be right. You must mean "-Lc:/djgpp/rsxntdj/lib/mt/
-lc_app".
: I have no problems, compilation goes ok, my program run ok and life is
: beautiful...
:
: But, when I compile using RSX-IDE, problems arise...
:
: For some reason, RSX-IDE generates automatically the following makefile:
[Klippa, klapp, kluppit makefile.]
I have no idea what the problem is, see first line in message.
: When looking at the options of make, I realize that no 'L' uppercase
: option exist. Of course I could compile my projects manually (by hand)
You need to distinguish between the options of the program "make" and
the syntax of the makefile. In the makefile, when there's a command it
is the syntax of the invoked program that rules. gcc certainly have
both options (-L and -l).
: but it would be great if that can be done by the makefile. I have been
: trying several (a lot !) of combinations in the compiler options (menu
: 'Ide' ---> 'compiler defaults') to avoid this problem. All of them
: without success.
:
: Any suggestions ? or it is simply that make.exe doesn't provide any
: solution for this ?
Well, it seems the problem is rsx-ide that generates bogus makefiles
not make.
Pettersson, Symphony No. 13,
MartinS
- Raw text -