User forums > Help

Advanced compiler option: write $link object to a file

(1/1)

JNo:
hello,

I have a particular need for definition of lin obects files to static library:

In command line macro I want to write each object in file as:
objects\file1.o
objects\file2.o
....

then launch cmd:
for /f %%i in (obj.txt) do @echo $liblinker %%i

if I generate file I use following command FOR %%i IN ($link_objects) DO @echo %%i > file.txt
I encounter command line leght limitation.

How I can  generate this temporary file

Miguel Gimenez:
Use response files.

Navigation

[0] Message Index

Go to full version