Re: cross compiling 2.3.0

Nick Gorham <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
On 14/04/2011 01:36, Bill Segall wrote:
>   I'm trying to cross-compile odbc and whilst I have this mostly
> working, I've struck a problem on make install generating
> unixodbc_conf.h as this relies on executing odbc_config --headers:
>
> /site/platforms/mips64-octeon-linux/stow/unixODBC-2.3.0/bin/odbc_config
> --header>  /site/platforms/mips64-octeon-linux/stow/unixODBC-2.3.0/include/unixodbc_conf.h
> /bin/sh: /site/platforms/mips64-octeon-linux/stow/unixODBC-2.3.0/bin/odbc_config:
> cannot execute binary file
>
> It is possible for me to transfer odbc_config to the board, run it
> there, and copy the generated file back but this seems like a wrong
> approach to me. I think a better (and more normal) mechanism would be
> to generate this header during configure. I'd be happy to work on this
> and ship patches but I thought I should ask for guidance beforehand.

Yep, I have had the same problem. Good idea. If you want to take a look 
thanks, if not, I will see what I can.

-- 
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.