Re: Problem cross compiling for iPhone (iOS 4)

Xander Maas <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hi,

I am using the following command to run configure:

./configure --disable-shared
--prefix=/Users/xjmaas/Desktop/FreeTDS_iOS/DEV_BUILD --disable-server
--disable-odbc --disable-pool --host=arm-apple-darwin9

And this is the error i get on stderr/stdout (console/terminal):

configure:19642: error: cannot run test program while cross compiling
See `config.log' for more details.

Regards,

Xander

2010/12/2 <[email protected]>

> On Thu, Dec 02, 2010 at 09:37:04AM +0100, Xander Maas wrote:
> > Hi all,
> >
> > I have resolved my previous question, I just had to intercept NULL
> returned
> > values (e.g. empty columns....)
> >
> > Now I am trying to rebuild the library (only the libraries) for iOS 4.
> When
> > I run configure, it gives me an error it cannot run test commands when
> cross
> > compiling.
> >
> > It seems it is giving me an error when testing for __int64. is this
> normal
> > behavior?
>
> Errors in config.log are normal; look at one that *works*.  The script
> explores the environment partly by learning what fails.
>
> What does the script report to stderr/stdout, and what options are you
> using?  Let's start there.
>
> --jkl
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.