[fpc-pascal] xterm -e program-compiled-with-fpc2.4.0 doesn't work

max m.euer at planet.nl
Mon Feb 27 19:47:41 CET 2012


With the advent of Debian6 fpc 2.4.0-2 has become the only available version.
Before that, it may have been 1.0 ?
A simple program of mine compiled in 2008 with the old fpc , when started
with xterm -e program still runs fine today.
Now. the new compiler warns about SHELL function being deprecated and
link.res containing output sections but finishes.
Though the produced binary runs as expexted when run in an xterm, using the
method of xterm -e program does not [ this is the method of starting the
program through the X11 twm-menu, which should come up with a new
xterm-window] :  I only see a short flicker of an xterm-window then
disapearing; there's no error message.
Would anyone have an idea what's wrong?

--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/xterm-e-program-compiled-with-fpc2-4-0-doesn-t-work-tp5519778p5519778.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list