This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

CrossGCC has cygwin built into their search paths...


Title: CrossGCC has cygwin built into their search paths...

I have been able to build a Cygwin->PowerPC cross compiler for embedded use...  (Most of the tools built).

When I run my new Cross compiler outside of Cygwin (as a standard Win32 app), I notice that the compiler is trying to find libgcc.a in the original cygwin tree... In fact, if you look below:

C:\gcc_ppc\bin>ccppc -print-search-dirs
install: /usr/target-powerpc/lib/gcc-lib/powerpc-unknown-eabi/2.95.2/
programs: /usr/target-powerpc/lib/gcc-lib/powerpc-unknown-eabi/2.95.2/:/usr/targ
et-powerpc/lib/gcc-lib/powerpc-unknown-eabi/:/usr/lib/gcc/powerpc-unknown-eabi/2
.95.2/:/usr/lib/gcc/powerpc-unknown-eabi/:/usr/target-powerpc/powerpc-unknown-ea
bi/bin/powerpc-unknown-eabi/2.95.2/:/usr/target-powerpc/powerpc-unknown-eabi/bin
/
libraries: /usr/target-powerpc/lib/gcc-lib/powerpc-unknown-eabi/2.95.2/:/usr/lib
/gcc/powerpc-unknown-eabi/2.95.2/:/usr/target-powerpc/powerpc-unknown-eabi/lib/p
owerpc-unknown-eabi/2.95.2/:/usr/target-powerpc/powerpc-unknown-eabi/lib/

C:\gcc_ppc\bin>


How can I make the compiler use the standard Win32 "LIB" environment variable to search like traditional compilers do? Or at least, remove all of these references to /usr/target-powerpc, etc....

Thanks,

Adrian


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