apdonsig@watdragon.waterloo.edu (Allan Donsig) (01/15/90)
A lot of PD stuff has come through lately (UUCP, plplot, yacc, etc) that was set up for Lattice C. Alas, I am fortunate in that I have Manx (nothing implied here :-). Can anyone comment on what things I should look out for when getting these compiled under Manx? Specifically, I'm having problems translating lines of the form system ("ls -l mydir"); into the manx fexecl ("ls","-l","mydir"); or, the seemingly equivalent fexecl ("ls","-l mydir");
doug@xdos.UUCP (Doug Merritt) (01/16/90)
In article <19792@watdragon.waterloo.edu> apdonsig@watdragon.waterloo.edu (Allan Donsig) writes: >A lot of PD stuff has come through lately (UUCP, plplot, yacc, etc) >that was set up for Lattice C. Alas, I am fortunate in that I have >Manx (nothing implied here :-). Can anyone comment on what things >I should look out for when getting these compiled under Manx? Good question. For starters, use the "+p" compiler option and link with "-cl32" (and "-ml32" if math is used). That'll at least give you the same compilation model that Lattice uses. Also the "edlib" functions posted last year provide a number of useful library routines available in Lattice/Unix libraries that aren't supported by Manx. Not all of them, though...anyone know another source for Lattice/Unix compatible library routines beyond what's in edlib? >Specifically, I'm having problems translating lines of the form > system ("ls -l mydir"); >into the manx > fexecl ("ls","-l","mydir"); For this particular example it would suffice to use the AmigaDos function: Execute("ls -l mydir", 0L, 0L); This even supports '<' and '>'. Doug -- Doug Merritt {pyramid,apple}!xdos!doug Member, Crusaders for a Better Tomorrow Professional Wildeyed Visionary