Shachar Shemesh wrote:

Does anyone have any idea how to make sure the standard search paths are
simply not looked at?


Recompile the GCC you are using from scratch and give it a fixed library/include patgh which is different from the system one.

The only problem you'll have left is with package that explictly do a -I <path> or a -L <path> with something hard coded or deduced the wrong way.

There are actually very few that hard code path in this way (I know of a single package) but there are several packages that use a "conf-bin" idoticity: the installation of the library leaves a binary that can be called with options and emits the path to the include/ libs. Then when you try to "false cross compile" the configure runs the binary and gets path for your "normal system".


But really the best solution here is not to invent the wheel - google for "ptxdist". It is highly recomended for the task of micro distro making. Cross compiled or otherwise.

Gilad

--
Gilad Ben-Yossef <[EMAIL PROTECTED]>
Codefidence. A name you can trust(tm)
Web: http://codefidence.com  | SIP: [EMAIL PROTECTED]
IL: +972.9.8650475 ext. 201  | Fax:            +972.9.8850643
US: +1.212.2026643 ext. 201  | Cel:           +972.52.8260388

"I am Jack's Overwritten Stack Pointer"
        -- Hackers Club, the movie

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to