NO

Author Topic: Response files  (Read 3081 times)

Anonymous

  • Guest
Response files
« on: March 29, 2005, 05:16:58 AM »
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

  • Guest
Response Files
« Reply #1 on: March 29, 2005, 06:46:58 PM »
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:
Code: [Select]

-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:
Code: [Select]

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

Anonymous

  • Guest
Re: Response Files
« Reply #2 on: March 29, 2005, 07:05:10 PM »
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.