Mail Archives: djgpp/1998/11/07/01:55:28
Message-ID: | <3643EE20.C3B8D357@flute.rockefeller.edu>
|
From: | Francisco Melo Ledermann <fmelo AT flute DOT rockefeller DOT edu>
|
Organization: | The Rockefeller University
|
X-Mailer: | Mozilla 4.05 [en] (Win95; U)
|
MIME-Version: | 1.0
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | compilation problem with rsx-ide ...
|
Lines: | 68
|
Date: | Sat, 07 Nov 1998 01:52:17 -0500
|
NNTP-Posting-Host: | 129.85.35.118
|
X-Trace: | rockyd.rockefeller.edu 910421598 129.85.35.118 (Sat, 07 Nov 1998 01:53:18 EDT)
|
NNTP-Posting-Date: | Sat, 07 Nov 1998 01:53:18 EDT
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
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
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:
all: cro.exe
cro.exe: cro.o cgic.o
gcc -Zwin32 -o cro.exe cro.o cgic.o
-lc:/djgpp/rsxntdj/lib/mt/libc_app.a
cro.o: cro.c
gcc -Zwin32 -Wall -c -o cro.o cro.c
cgic.o: cgic.c
gcc -Zwin32 -Wall -c -o cgic.o cgic.c
I have no idea why the '-l' option is built here (lowercase 'l' and not
uppercase 'L'). That causes a crash in the compilation and the following
message:
c:/djgpp/bin/ld.exe cannot open -lc:/djgpp/rsxntdj/lib/mt/libc_app.a: no
such file or directory ...
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)
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 ?
Someone know what is going on here ?
In advance, thank you very much for your help.
Francisco.
--
-----------------------------------
Francisco Melo Ledermann
Laboratory of Molecular Biophysics. The Rockefeller University.
1230 York Avenue, #270, New York, NY 10021-6399.
(1) (212) 879 5404 Home
(1) (212) 327 7206 Work (Voice)
(1) (212) 327 7540 Work (FAX)
www server: http://www.fundp.ac.be/pub/ANOLEA.html
home page: http://guitar.rockefeller.edu/~fmelo/index.html
- Raw text -