Article View: comp.sys.amiga.tech
Article #2771Re: "system" and "fexecl"
From: Doug Merritt
Date: Tue, 16 Jan 1990 15:45
Date: Tue, 16 Jan 1990 15:45
28 lines
1754 bytes
1754 bytes
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
Technical Details
Message-ID:
<620@xdos.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!brutus.cs.uiuc.edu!apple!motcsd!xdos!dougReferences:
<19792@watdragon.waterloo.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!brutus.cs.uiuc.edu!apple!motcsd!xdos!doug From: doug@xdos.UUCP (Doug Merritt) Newsgroups: comp.sys.amiga.tech Subject: Re: "system" and "fexecl" Keywords: Lattice Manx System Message-ID: <620@xdos.UUCP> Date: 16 Jan 90 15:45:22 GMT References: <19792@watdragon.waterloo.edu> Reply-To: doug@xdos.UUCP (Doug Merritt) Distribution: na Organization: Hunter Systems, Mountain View CA (Silicon Valley) Lines: 28