From: ams AT ludd DOT luth DOT se (Martin Str|mberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: compilation problem with rsx-ide ... Date: 7 Nov 1998 12:09:06 GMT Organization: University of Lulea, Sweden Lines: 50 Message-ID: <721d92$sga$3@news.luth.se> References: <3643EE20 DOT C3B8D357 AT flute DOT rockefeller DOT edu> NNTP-Posting-Host: queeg.ludd.luth.se X-Newsreader: TIN [UNIX 1.3 950824BETA PL0] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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