John Hansen wrote:

lcd_test.dpr: warning: 31: "crti.o" not found, this will probably cause a 
linking failure
lcd_test.dpr: warning: 31: "crtbegin.o" not found, this will probably cause a 
linking failure
lcd_test.dpr: warning: 31: "crtend.o" not found, this will probably cause a 
linking failure
lcd_test.dpr: warning: 31: "crtn.o" not found, this will probably cause a 
linking failure
D:\FPC\2.7.1\units\arm-linux\rtl\cprt0.o: In function `_haltproc_eabi':
(.text+0x88): undefined reference to `_fini'
D:\FPC\2.7.1\units\arm-linux\rtl\cprt0.o: In function `_haltproc_eabi':
(.text+0x90): undefined reference to `_init'

Does anyone have any idea what is going wrong and how to fix this problem?  It 
sounds like it might be that I need to have the order that it tries to link the 
files and libraries modified so that it links the C runtime .o files after my 
own code or something like that.  But how do I accomplish that feat?

This is a placeholder pending somebody more experienced commenting. A number of people have reported similar problems over the last few months, e.g. http://comments.gmane.org/gmane.comp.compilers.free-pascal.general/32106

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to