freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Problem cross compiling for iPhone (iOS 4)
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Problem cross compiling for iPhone (iOS 4)
- Date: Mon, 14 Feb 2011 17:17:54 +0100
Before opening a case to Apple I would:
- create an empty project for iPhone using XCode
- include stdio.h and stdlib.h in main.m
- add fopen call in main
- test generated application
Personally I ported FreeTDS to iPhone using XCode 3.1.3 and tested
using either simulator and real device without problems... surely
fopen worked :)
freddy77
2011/2/14 Xander Maas (GMAIL) <xjmaas AT gmail.com>:
> Hi,
>
> The app I am trying to create will be used to query a SQL server over WiFi
> only. The app will be internal only. We want to have an app to verify the
> data in several databases available here at school.
>
> I wasn't filing it as a bug as the iOS Simulator is giving me the error.
>
> Regards,
>
> Xander
>
> On 11 feb 2011, at 17:51, Thomas Stover wrote:
>
>>
>>> Message: 1
>>> Date: Fri, 11 Feb 2011 14:17:21 +0100
>>> From: "Xander Maas (GMAIL)" <xjmaas AT gmail.com>
>>> To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
>>> Subject: Re: [freetds] Problem cross compiling for iPhone (iOS 4)
>>> Message-ID: <42209DF2-3BFD-467A-A599-709EAB95FDEB AT gmail.com>
>>> Content-Type: text/plain; charset=us-ascii
>>>
>>> Hi all,
>>>
>>> Took a while, but my work permits me to continue on this project.
>>>
>>> Right now I am using the 0.83.dev.20110125 snapshot. This compiles like
>> a
>>> charm on my Mac. I created a universal library out of it, usable for arm
>>> (iPhone) and i386 (Simulator).
>>>
>>> I included the libs into my new project, which compiles without any
>>> problems or warnings. BUT (There is always one, isn't it?) when I try to
>>> test my app in the Simulator, the app crashes because there is a call to
>>> fopen in the function tds_get_locale.
>>>
>>> Is there anyone who has seen the same?
>>>
>>> Regards,
>>>
>>> Xander
>>
>> I'm just curious. (these are serious questions)
>>
>> Do you intend to talk SQL over the cell network or wifi?
>>
>> Aren't you not allowed to open source libraries on iphone unless the come
>> with the sdk?
>>
>> So ios is at least somewhat posix-ish enough run libraries like freetds?
>>
>> Is fopen() a function you can normal use?
>>
>> --
>> www.thomasstover.com
>> NO CARRIER
>> _______________________________________________
>> FreeTDS mailing list
>> FreeTDS AT lists.ibiblio.org
>> http://lists.ibiblio.org/mailman/listinfo/freetds
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Xander Maas (GMAIL), 02/11/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Frediano Ziglio, 02/11/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Xander Maas (GMAIL), 02/11/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Frediano Ziglio, 02/11/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Xander Maas (GMAIL), 02/11/2011
- <Possible follow-up(s)>
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Thomas Stover, 02/11/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
James K. Lowden, 02/12/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Luis Lavena, 02/12/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), James K. Lowden, 02/12/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Luis Lavena, 02/12/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Xander Maas (GMAIL), 02/14/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Frediano Ziglio, 02/14/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Xander Maas (GMAIL), 02/14/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Xander Maas, 02/14/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Daniel Fazekas, 02/14/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Xander Maas, 02/14/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Frediano Ziglio, 02/14/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Daniel Fazekas, 02/14/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Xander Maas, 02/14/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Xander Maas, 02/14/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Daniel Fazekas, 02/14/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Xander Maas, 02/14/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Xander Maas, 02/14/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Daniel Fazekas, 02/14/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Frediano Ziglio, 02/14/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
James K. Lowden, 02/12/2011
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4),
Frediano Ziglio, 02/11/2011
Archive powered by MHonArc 2.6.24.