freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Problem cross compiling for iPhone (iOS 4)
- From: Xander Maas <xjmaas 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 23:47:05 +0100
Daniel,
I had to edit the lines a bit, so this is my mistake when editing the script
to post. I'll try again tomorrow at school.
Regards,
Xander
On 14 feb 2011, at 22:45, Daniel Fazekas wrote:
> On Feb 14, 2011, at 19:51, Xander Maas wrote:
>
>> Got a version of the (simple) script I used to build the libraries:
>
> I've looked into it a bit and it's simply impossible for fopen to get
> changed to _fopen$UNIX2003 if you are building with the iPhoneSimulator
> headers.
>
> The only case that could ever happen is if you are targeting 32-bit Mac OS
> X 10.6, that is, the Mac OS SDK.
>
> In the file
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/sys/cdefs.h
>
> On line 257 it uncodinitonally sets this to 1 for the iPhoneSimulator:
> #define __DARWIN_ONLY_UNIX_CONFORMANCE 1
>
> Hence no $UNIX2003 suffix anywhere, no matter what:
> # if __DARWIN_ONLY_UNIX_CONFORMANCE
> # define __DARWIN_SUF_UNIX03 /* nothing */
> # else /* !__DARWIN_ONLY_UNIX_CONFORMANCE */
> # define __DARWIN_SUF_UNIX03 "$UNIX2003"
> # endif /* __DARWIN_ONLY_UNIX_CONFORMANCE */
>
> [...]
>> # make i686 (Simulator) target
> [...]
>> export LDFLAGS="-isysroot
>> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk
>> -Wl,-syslibroot \
>> Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk"
>
> You are missing the “/” in front of /Developer here…
> But you can't even get past ./configure successfully with such an obvious
> typo.
> Could it be you didn't notice the build failing?
>
> Or maybe you just need to do “make clean” to make sure it actually rebuilds
> things.
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
-
Re: [freetds] Problem cross compiling for iPhone (iOS 4)
, (continued)
-
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 (GMAIL), 02/15/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Daniel Fazekas, 02/15/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Xander Maas (GMAIL), 02/15/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Daniel Fazekas, 02/15/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Xander Maas (GMAIL), 02/15/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Daniel Fazekas, 02/15/2011
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Xander Maas, 02/15/2011
- Message not available
- Message not available
- Message not available
- Re: [freetds] Problem cross compiling for iPhone (iOS 4), Xander Maas (GMAIL), 02/16/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
Archive powered by MHonArc 2.6.24.