ts-7000
[Top] [All Lists]

[ts-7000] Crosstools and mysql

To:
Subject: [ts-7000] Crosstools and mysql
From: "Art" <>
Date: Thu, 21 Sep 2006 22:13:42 -0000
I have downloaded and installed the crosstools for cygwin.  I was 
able to get the compiler to work with my code.  The problem I am 
having is getting the libmysqlclient14 on the cross compiler.  this 
is the error I am getting when I try to compile.  I see here it is 
trying to look in '/usr/lib/' folder and I really want it to be 
looking at librarys for the cross compiler?  do I have to use cross 
compiled librarys or can I use Librarys from the platform that I am 
compiling it for?  Is there some sort of varible I need to change to 
tell where too look for libraries?  is there a configuration file for 
the crosstool that I can change only them?

I have been developing on the platform and that seems to work fine 
but my disk gets full then I get stuck rebuilding the platform.  I 
figure if I compile some where else I keep that from happening.

Thanks,

Art

P. S.  I think this is all the information needed if you need the 
make file or code please let me know.

make
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
        arm-unknown-linux-gnu-gcc -Wall -o dio dio.c -
I/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu/include/mysql -lmysqlclient -lnsl -lm -lz -
L/opt/crosstool/arm-unknown-linux-gun/gcc-3.2.2-glibc-2.3.2/arm-
unknown-linux-gnu/lib/
/opt/CROSST~1/ARM-UN~1/GCC-33~1.2/bin/../lib/gcc-lib/arm-unknown-
linux-gnu/3.3.2/../../../../arm-unknown-linux-gnu/bin/ld: cannot 
find /usr/lib/libc_nonshared.a inside /opt/CROSST~1/ARM-UN~1/GCC-
33~1.2/arm-unknown-linux-gnu/bin/../../arm-unknown-linux-gnu
collect2: ld returned 1 exit status

** error 1 ** deleting dio

----Compile completed, 0 error(s)----






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Crosstools and mysql, Art <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU