Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Perl && uclibc

by ioannis (Priest)
on May 30, 2006 at 21:30 UTC ( #552630=note: print w/ replies, xml ) Need Help??


in reply to Perl && uclibc

I did this several years ago for perl 5.6 . As in most cross-compilations, in the simple cases, you don't have to do anything because the gcc version of your tool chain should be already to default to the gcc used by your Makefile. Actually, compiling Perl was even simpler because the Perl distribution provided 'hint' files to set compilation defaults. I remember I had to compile in stages to overcome a difficulty with the blib package and deal with a few trial bumps. To directly answer you question; first, symlink your gcc to point to the correct gcc binary. If it does not work, play with the hint files that come with Perl. If it still does not work, then learn how to change your gcc flags to use the correct libraries, includes, and other cross-platform flags.


Comment on Re: Perl && uclibc
Re^2: Perl && uclibc
by ruoso (Curate) on May 30, 2006 at 22:51 UTC

    which are this hint files?

    daniel
      The hint files are in the hints directory. Debian has probably added their own hints to the list -- that is what they used to do.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://552630]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2014-09-18 00:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (101 votes), past polls