Re: odbc_config when cross compiling

Nick Gorham <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
On 16/05/2011 02:55, Bill Segall wrote:
> I've been looking at using unixodbc in a cross-compiled environment 
> and I'm currently endeavoring to build freetds on top of it.
>
> I'm not sure if this is a common issue but it would be nice if 
> odbc_config was a shell script rather than a binary so we could use it 
> when cross compiling. freetds has a configure test that checks for 
> it's existence and if it doesn't exist it seems to do the right thing 
> so removing it in the cross-compilation environment is a good workaround.
>
> I thought I should at least suggest that this be a shell script and 
> leave a note for others who might hit the same issue.
>
> Thanks,
> Bill.
>
Yep, I see the point. Its not entirely the same thing, but I changed the 
configure script to generate unixodbc_conf.h using macros instead of 
running odbc_config so it would build in a cross comp environment.

The svn build or the 2.3.1pre tarball has that in.

-- 
Nick
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
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.