[MacPorts] #37206: pcc: does it actually work on today's machines/OS?
MacPorts
noreply at macports.org
Wed Dec 5 02:00:38 PST 2012
#37206: pcc: does it actually work on today's machines/OS?
-----------------------------+--------------------------------
Reporter: akim.demaille@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: pcc
-----------------------------+--------------------------------
Hi,
I'm running 10.8.2 on an i7, and I can't compile the simplest C program
using pcc. It looks very much like the ASM syntax it uses is not the one
accepted by the asm it actually runs.
{{{
$ cat /tmp/foo.c
int
main()
{
return 0;
}
$ pcc /tmp/foo.c
/tmp/ctm.nHsLTr:5:suffix or operands invalid for `push'
/tmp/ctm.nHsLTr:12:suffix or operands invalid for `pop'
/tmp/ctm.nHsLTr:22:unknown section type: non_lazy_symbol_pointers
/tmp/ctm.nHsLTr:22:Rest of line ignored. 1st junk character valued 32 ( ).
$ pcc -v
pcc 1.0.0.RELEASE 20110221 for i386-apple-darwin12.2.1, root at erebus.local
no input files
$ pcc -h
ld: warning: directory not found for option '-L/opt/local/lib/pcc/i386
-apple-darwin12.2.1/1.0.0.RELEASE/lib/'
ld: file not found: /opt/local/lib/pcc/i386-apple-
darwin12.2.1/1.0.0.RELEASE/lib/crt1.o
}}}
The last lines seem to show that there is also something weird in the
installation. There is no /opt/local/lib/pcc at all.
Sorry if I missed something :(
--
Ticket URL: <https://trac.macports.org/ticket/37206>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list