News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Response files

Started by Anonymous, March 29, 2005, 05:16:58 AM

Previous topic - Next topic

Anonymous

Hi all,
I've been messing about with Response Files for the compiler and linker and it's not sinking in... Can anyone provide a couple of simple examples, please?

Timppa

Hello LD!

Only cc.exe and polink.exe supports response file,
says help file.

Example for polink.exe and cc.exe.

polink.exe @cubix-polink.rsp

cubix-polink.rsp:

-machine:ix86
-subsystem:console
kernel32.lib
advapi32.lib
main.obj
cxengine.obj
basic.yy.obj
basic.tab.obj
-out:cbasic.exe


cc.exe @cubix-cc.rsp

cubix-cc.rsp:

-Tx86-coff
-Ot
-W1
-Gd
-Go
main.c
cxengine.c
basic.yy.c
basic.tab.c
-out:cbasic.exe

Anonymous

Quote from: "Timppa"Hello LD!

Only cc.exe and polink.exe supports response file,
says help file.

:roll:  Well, that explained it right there...  
I was trying to hand POCC a list of files to compile...

Time to rethink that little trick  :)  

Thanks.