Hi Frank
[...]
"./test_sum" | tee test_summary ./test_run: fatal: `--print-needed-options' yields: ./test_run: /mingw/bin/gpc: Invalid argument Nothing was run."
Looks like an installation problem. What happens if you insert
echo "$PC $PFLAGS --print-needed-options dummy.pas" >&2
in test_run before the needed-options stuff, and execute the command that is shown manually (or from bash)?
I get nothing. No errors, no output - just nothing.
Looking in the directories in which I am building GPC, I see files called "needed-options" in the p/rts and p/utils directories, of zero bytes in size. I believe that this file has always had zero bytes, but that has not been a problem until now.
Is /mingw/bin/gpc the GPC executable?
Yes.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/
Prof A Olowofoyeku (The African Chief) wrote:
[...]
"./test_sum" | tee test_summary ./test_run: fatal: `--print-needed-options' yields: ./test_run: /mingw/bin/gpc: Invalid argument Nothing was run."
Looks like an installation problem. What happens if you insert
echo "$PC $PFLAGS --print-needed-options dummy.pas" >&2
in test_run before the needed-options stuff, and execute the command that is shown manually (or from bash)?
I get nothing. No errors, no output - just nothing.
Try `make pascal.check-long'.
Looking in the directories in which I am building GPC, I see files called "needed-options" in the p/rts and p/utils directories, of zero bytes in size. I believe that this file has always had zero bytes, but that has not been a problem until now.
That's alright (and probably unrelated).
Frank
On 27 Mar 2003 at 16:30, Frank Heckenbach wrote:
Prof A Olowofoyeku (The African Chief) wrote:
[...]
"./test_sum" | tee test_summary ./test_run: fatal: `--print-needed-options' yields: ./test_run: /mingw/bin/gpc: Invalid argument Nothing was run."
Looks like an installation problem. What happens if you insert
echo "$PC $PFLAGS --print-needed-options dummy.pas" >&2
in test_run before the needed-options stuff, and execute the command that is shown manually (or from bash)?
I get nothing. No errors, no output - just nothing.
Try `make pascal.check-long'.
Same result. This is the output:
"$make pascal.check-long rm -f *.dat *.o *.s *.gpm *.gpi *.gpd *.gpc core a.out stderr.out *.exe testmake.tmp dummy.c dummy.pas dummy.out diff_cr*.tmp fixcr fixcr.exe rm -f todo/a.out todo/*.exe todo/*.o todo/*.s todo/*.gpm todo/*.gpi todo/*.gpd todo/core { gpc --version | head -1; gpc --print-search-dirs | grep install | head -1; hostname || echo "unknown host"; date "+%Y-%m-%d %H:%M:%S"; } | \ sed -e 's,^,Testing ,;N;s,\n.*gcc-lib[/], (,;s,[/].*,),;N;s,\n, (,;s,$,),;N;s/\n/, /' Testing gpc.exe 20030323, based on gcc-3.2.2 (mingw special 20030208-1) (mingw32), 2003-03-27 16:32:56 echo "gpc -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused " gpc -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused PC="gpc" PFLAGS="--autobuild -g -O3 -W -Wall -Wundef -Wpointer-arith - Wno-unused " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" *.pas | tee test_log gpc --autobuild -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused - -print-needed-options dummy.pas ./test_run: fatal: `--print-needed-options' yields: ./test_run: /mingw/bin/gpc: Invalid argument"
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/
Prof A Olowofoyeku (The African Chief) wrote:
On 27 Mar 2003 at 16:30, Frank Heckenbach wrote:
Prof A Olowofoyeku (The African Chief) wrote:
[...]
"./test_sum" | tee test_summary ./test_run: fatal: `--print-needed-options' yields: ./test_run: /mingw/bin/gpc: Invalid argument Nothing was run."
Looks like an installation problem. What happens if you insert
echo "$PC $PFLAGS --print-needed-options dummy.pas" >&2
in test_run before the needed-options stuff, and execute the command that is shown manually (or from bash)?
I get nothing. No errors, no output - just nothing.
Try `make pascal.check-long'.
This is the output:
gpc --autobuild -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused - -print-needed-options dummy.pas
So, what happens if you run this command manually, possibly from bash (after creating dummy.pas)?
Frank
On 27 Mar 2003 at 19:01, Frank Heckenbach wrote:
[...]
This is the output:
gpc --autobuild -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused
- -print-needed-options dummy.pas
So, what happens if you run this command manually, possibly from bash (after creating dummy.pas)?
Exactly what I said before - nothing happens. I just get the command prompt back :(
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/