[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pascal question



> 
> Hi,
> 
> I have installed the pascal package and downgraded my gcc to 2.7.2.1
> for compatibility reasons. In the beginning I got some errors concerning
> files the package could find By linking then I got through that stage 
> .Now I am getting the following errors
> 
> 
> garfield:/usr/home/guest$ gpc program~pdp~.txt 
> ld:program~pdp~.txt: file format not recognized; treating as linker script
> ld:program~pdp~.txt:1: parse error

I don't do pascal myself any more, but I assume gpc, like gcc looks
at the file extention to choose what type of file it is. Obviously,
it doens't recognice ".txt" as a pascal file (I wouldnt' do that myself
eighter), and it chooses to assume it's a linker script.

Rename your file to eighter ".p", or ".pas" (I just don't know which,
but one must be the right one), and it should go OK.

-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: