[fpc-devel] compile problems with fpc: linking issue

Schneider schneidt at mail.nih.gov
Thu Oct 8 20:32:14 CEST 2015


Folks:

I used fink to install fpc.

25% cat hello.p
program hello(output);
(* hello: tiny Pascal program *)
begin
   writeln(output,'hello');
end.
26% fpc hello.p
Free Pascal Compiler version 2.6.4 [2015/10/07] for x86_64
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Darwin for x86_64
Compiling hello.p
Assembling (pipe) hello.s
Linking hello
ld: warning: object file (hello.o) was built for newer OSX version (10.10) than being linked (10.5)
ld: warning: object file (/sw/lib/fpc/2.6.4/units/x86_64-darwin/rtl/system.o) was built for newer OSX version (10.9) than being linked (10.5)
5 lines compiled, 0.1 sec 
27% 

Why is this happening?  I'm on OS X 10.10.5.

Note:  Since I just started, I'm not on the fpc list yet, so please
include my email in responses.

Tom

  Thomas D. Schneider, Ph.D.
  Senior Investigator
  National Institutes of Health
  National Cancer Institute
  Center for Cancer Research
  Gene Regulation and Chromosome Biology Laboratory
  Molecular Information Theory Group
  Frederick, Maryland  21702-1201
  schneidt at mail.nih.gov
  https://schneider.ncifcrf.gov (current link)
  https://alum.mit.edu/www/toms (permanent link)



More information about the fpc-devel mailing list