LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   compiling perl with c options (https://www.linuxquestions.org/questions/slackware-14/compiling-perl-with-c-options-239615/)

fobius 10-06-2004 08:56 PM

compiling perl with c options
 
Hello,

It's been awhile since I've been in the forums since it's been getting busy at school lately. Anyhow, I'm trying to install perl 5.8.5 on my Slack box after removing the binary that came installed. The options I'm trying to use are:

-Dprefix=/usr -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Doptimize=-O2 -march=i486 -mcpu=i686 -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 -Darchname=i486-linux

but when I run the sh Configure [options here] it tells me that the -march and -mcpu options are unrecognized. I tried using the gnu configure emulation configure.gnu but that didn't work either. where do i specify the march and mcpu options?

while we're at it, is there any big difference between mcpu and march?

Thanks

m00t00 10-06-2004 09:05 PM

Not quite sure the difference between the two, but I _do_ know that specifying march _and_ mcpu can get very buggy. mcpu is depreciated in gcc 3.4 anyway. Its better to just use march.


All times are GMT -5. The time now is 04:03 PM.