News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Advanced compiler option: write $link object to a file

Started by JNo, March 25, 2024, 02:29:13 PM

Previous topic - Next topic

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