Dear Gale,
I will be out of town and away from the Intel Mac for a week or so. I will come back by October 17, and then I will check the things you are asking for.
Sorry for the delay and thank you very much for your concern.
Nestor
=======================================================================
On 6 Oct, 2006, at 22:58, Gale Paeper wrote:
I am running Mac OS X 10.4.8 on a MacBook Intel 2Ghz Core Duo, using gpc installed from gpc345u2-intel.dmg (downloaded from http:// www.microbizz.nl/gpc.html).
When compiling I get errors involving "indirect jmp without `*'" as in
[snip]
That looks like versioning problem: I suspect that this version of gpc is incompatible with the assembler you have. In detail: gpc translates Pascal program into assembly and then invokes assembler to translate it into machine code. Assembly files are text file where each line denotes a single machine instruction. Exact form of assembly instructions depends on assembler in use (gpc on Mac OS X uses assembler provided by Apple). Some time ago may Intel assemblers decided that they want extra stars in jump instructions. AFAIK Apple did not want stars. I suspect that in Mac OS X 10.4.8 Apple changed the assembler to require stars in jump instructions.
Before Apple put out Xcode version 2.2, Adriaan had to build and distribute newer versions of as and ld because the gpc345u2 compilers had problems with the older versions. But that was before there was an Intel Mac the general public could buy. Perhaps, I shouldn't but I'm assuming any Intel Mac would have at least Xcode 2.2 or later.
[snip]
Compiling the equivalent "helloworld.c" with gcc doesn't bring up any error messages. The gcc I have installed is "gcc version 4.0.1 (Apple Computer, Inc. build 5363)", and the gpc is "gpc version 20051116, based on gcc-3.4.5", so indeed there is a mismatch between the gcc's.
Nestor, could you check the versions of as (the assembler), ld (the linker), and Xcode and report back?
The coomand lines for as and ld version checking are:
as -v
(You'll need a control c to get back to the command line)
ld -v
For Xcode, from the Xcode menu select About Xcode and you'll get a info window with line like:
Xcode Version: ??
Component versions Xcode IDE: ?? Xcode Core: ?? ToolSupport: ??
If you could fill in the question mark information, that might help figure out a things.