Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grijjy.Http.pas: Compatibility with OSX, Android, IOS #21

Open
evgeny-k opened this issue Mar 21, 2019 · 2 comments
Open

Grijjy.Http.pas: Compatibility with OSX, Android, IOS #21

evgeny-k opened this issue Mar 21, 2019 · 2 comments

Comments

@evgeny-k
Copy link

according to Delphinus.Info.json, these platforms are supported: "Win32;Win64;OSX32;Android;iOSDevice32;iOSDevice64;Linux64", but Grijjy.Http.pas can be compiled under Windows and Linux only.

workaround: replace {$IFDEF LINUX} with {$IFDEF POSIX}

@allendrennan
Copy link
Collaborator

The http unit is only really tested on windows and linux. It is possible that it could work on many platforms. The delphinus was not contributed by us, and should be changed.

@donaldshimoda
Copy link

looks like Linuxapi.Epoll.pas (Grijjy source) isn’t compatible with iOS64.

DCC Error] E2597 Undefined symbols for architecture arm64:
    Error: "_epoll_create", referenced from:      __ZN8Linuxapi5Epoll12epoll_createEi in Linuxapi.Epoll.o;
      Error: "_epoll_ctl", referenced from:      __ZN8Linuxapi5Epoll9epoll_ctlEiiiPNS0_11epoll_eventE in Linuxapi.Epoll.o;
      Error: "_epoll_pwait", referenced from:      __ZN8Linuxapi5Epoll11epoll_pwaitEiPNS0_11epoll_eventEiiPj in Linuxapi.Epoll.o;
  ld: symbol(s) not found for architecture arm64

Theres any chance to make it compatible?

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants