Hello,
TSE for Linux 4.50.13
What is wanted is to compile using a batch file a bunch of individual .s files (e.g. only those changed the last 5 days) somewhere.
Reproduction:
1. Put a .s file in an arbitrary directory
E.g.
/mnt/c/temp/foobar.s
2. Create a file (I believe this should be a Linux batch file similar to .bat in Microsoft Windows)
ddd.sh
3. Add some repeated lines in ddd.sh like
./sc32 /mnt/c/temp/foobar.s
./sc32 /mnt/c/temp/foobar.s
./sc32 /mnt/c/temp/foobar.s
4. Save this file ddd.sh in the 'tse' directory
5. Then make ddd.sh executable e.g. by
sudo chmod +x ddd.sh
6. Run ddd.sh
> /mnt/c/TEMP/tse_linux/tse$ ./ddd.sh
SAL Compiler V4.50.13 - Linux 32-bit (ow) 2025 Sep 27 (12420)
'rror 2305 (0,0) Error opening file '/mnt/c/temp/foobar.s
SAL Compiler V4.50.13 - Linux 32-bit (ow) 2025 Sep 27 (12420)
'rror 2305 (0,0) Error opening file '/mnt/c/temp/foobar.s
SAL Compiler V4.50.13 - Linux 32-bit (ow) 2025 Sep 27 (12420)
'rror 2305 (0,0) Error opening file '/mnt/c/temp/foobar.s
SAL Compiler V4.50.13 - Linux 32-bit (ow) 2025 Sep 27 (12420)
7. Strange enough if you run a one liner of those 3 lines instead on the command line inside the tse directory it works
> ./sc32 /mnt/c/temp/foobar.s
SAL Compiler V4.50.13 - Linux 32-bit (ow) 2025 Sep 27 (12420)
File: /mnt/c/temp/foobar.s....
Writing output to file '/mnt/c/temp/foobar.mac'
8. Also tried full path names, similar error resullt
/mnt/c/temp/tse_linux/tse/sc32 /mnt/c/temp/foobar.s
/mnt/c/temp/tse_linux/tse/sc32 /mnt/c/temp/foobar.s
/mnt/c/temp/tse_linux/tse/sc32 /mnt/c/temp/foobar.s
9. Is something obvious missing here or is it just not possible to run sc32 from within assumed a batch file (like ddd.sh) thus?
with friendly greetings
Knud van Eeden