This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross Compiler and Linker for Linux


>This fails with the same error as before: unable to find the header 
>files for tanhf and other assorted floating-point functions.  (I'm 
>presuming it won't be able to link with them, either.)
>
>Ideas, hints, tips, solutions, and bonks on my head are most welcome.

Try using absolute pathnames in the configure:

6) ../gcc-3.3/configure --prefix=/usr/local/cc/sparc-solaris \
   --target=sparc-solaris --with-libs=/absolute/path/to/./sparc-solaris/sparc-solaris \
   --with-headers=/absolute/path/to/./sparc-solaris/sys-include --with-gnu-as \
   --with-gnu-ld

-- 
Peter Barada                             Peter.Barada@motorola.com
Wizard                                   781-852-2768 (direct)
WaveMark Solutions(A Motorola Company)   781-270-0193 (fax)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]