Recent

Author Topic: Test on [FPC 3.1.1 , OS X 10.10.5 , iOS 9.0 , XCode 7.0]  (Read 7243 times)

simonsayz

  • New Member
  • *
  • Posts: 27
Test on [FPC 3.1.1 , OS X 10.10.5 , iOS 9.0 , XCode 7.0]
« on: September 20, 2015, 01:57:16 pm »
Test on [FPC 3.1.1 , OS X 10.10.5 , iOS 9.0 , XCode 7.0]

Basic Tutorial for Clean Installation

Ref. http://blog.naver.com/simonsayz/220485321971

Tested : iOS 9.0,9.1, XCode 6.4, 7.0, 7.1, OS X 10.10.5, 10.11.1
             Simulator / Devices - iPhone 5 (32bit) , iPad Air2 (64bit)

Warning : Building FPC on XCode 6.4 (and update XCode 7.0 or 7.1)

Always Thanks.

Simon,Choi
« Last Edit: September 23, 2015, 12:45:07 am by simonsayz »

johnya

  • New member
  • *
  • Posts: 6
Re: Test on [FPC 3.1.1 , OS X 10.10.5 , iOS 9.0 , XCode 7.0]
« Reply #1 on: September 22, 2015, 07:40:25 pm »
When I compile my project to iOS (ARM) with Xcode 7.0 and official release of FPC 3.0.1, I get the exactly same type of errors as in the above blog post.

Code: [Select]
error: instruction 'fcmpe' can not set flags, but 's' suffix specified
        fcmpes  s0,s2

Compilation gets no errors for ARM64, iPhoneSim and iPhoneSimX64 architectures. Is there any solution to silence that error, other then (possibly) downgrading to Xcode 6? Thanks!

simonsayz

  • New Member
  • *
  • Posts: 27
Re: Test on [FPC 3.1.1 , OS X 10.10.5 , iOS 9.0 , XCode 7.0]
« Reply #2 on: September 23, 2015, 03:19:58 am »
Hello, johnya

This issue is under discussion.

Please Ref.
Free Pascal Mailing List - MacPascal


simonsayz

  • New Member
  • *
  • Posts: 27
Re: Test on [FPC 3.1.1 , OS X 10.10.5 , iOS 9.0 , XCode 7.0]
« Reply #3 on: September 29, 2015, 03:32:07 pm »
Now It works. ( svn r31875 ~ )

Thanks to Jonas Maebe.

Ref. http://blog.naver.com/simonsayz/220485321971


simon

  • New member
  • *
  • Posts: 6
Re: Test on [FPC 3.1.1 , OS X 10.10.5 , iOS 9.0 , XCode 7.0]
« Reply #4 on: January 25, 2016, 06:27:11 pm »
Hi -

Has anyone managed to get FPC working with iOS 9.2? I'm trying but am unable to compile the generated iPhoneAll.pas. I get the following error:

Free Pascal Compiler version 3.1.1 [2016/01/25] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Darwin for ARM
Compiling iPhoneAll.pas
Compiling DefinedClassesCoreFoundation.pas
Assembling (pipe) DefinedClassesCoreFoundation.s
Compiling DefinedClassesSecurity.pas
Assembling (pipe) DefinedClassesSecurity.s
Compiling DefinedClassesFoundation.pas
DefinedClassesFoundation.pas(193,25) Fatal: Syntax error, ">" expected but "=" found

regards

Simon

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2292
    • havefunsoft.com
Re: Test on [FPC 3.1.1 , OS X 10.10.5 , iOS 9.0 , XCode 7.0]
« Reply #5 on: January 25, 2016, 08:44:07 pm »
works perfectly fine.

You probably want to give more information, such as - where did you get the headers from.
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

simon

  • New member
  • *
  • Posts: 6
Re: Test on [FPC 3.1.1 , OS X 10.10.5 , iOS 9.0 , XCode 7.0]
« Reply #6 on: January 25, 2016, 09:10:46 pm »
Some additional info:

Mac OS X : 10.11.3
Xcode : Version 7.2 (7C68)
iPhoneOS : 9.2

Has this combination worked for anyone?

I have been following the instructions given by simonsayz : http://blog.naver.com/simonsayz/220485321971

regards

Simon
« Last Edit: January 27, 2016, 07:17:42 pm by simon »

simon

  • New member
  • *
  • Posts: 6
Re: Test on [FPC 3.1.1 , OS X 10.10.5 , iOS 9.0 , XCode 7.0]
« Reply #7 on: May 25, 2016, 09:26:52 am »

I generated the headers. Does anyone have headers which work for iOS 9.2 or greater?

Simon