What should be the prefix for the platform specific package

David Querbach querbach@realtime.bc.ca
Wed Jun 19 09:10:00 GMT 2002

> I build my projects for several cross-platforms on PC Linux RedHat 6.2.
> So I want to make the optimal dir-tree.

> When I build and install binutils with following configuration:
> configure --target=mipsel-linux --prefix=/usr/local/mipsel-linux ...

> The question is:
> If the prefix will:
> --prefix=/usr/local
> what will happen with native libraries in:
> /usr/local/lib
> that have the same name as the cross-specific libraries?

They shouldn't be touched.  Target-specific libraries (such as those
generated by cross-building newlib) will end up in
/usr/local/mipsel-linux/lib, and the accompanying include files will end up 
in /usr/local/mipsel-linux/include.

You will see a few additions to /usr/local/lib, but these are bfd libraries 
which can be used to build specialized cross-development tools.


David Querbach
Real-Time Systems Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20020619/662562c5/attachment-0001.sig>

More information about the crossgcc mailing list