Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-06-2004, 09:56 PM   #1
Registered: Sep 2003
Location: California
Distribution: Slackware 9.1, Mandrake 9.2
Posts: 94

Rep: Reputation: 15
compiling perl with c options


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?

Old 10-06-2004, 10:05 PM   #2
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compiling options slinky2004 Linux - General 6 10-10-2005 08:46 PM
Compiling Perl? Inexactitude Programming 3 04-15-2004 06:01 PM
Compiling ip_queue with other options? Jimbo Mahoney Linux - General 1 06-08-2003 06:17 PM
Kernel Compiling options moger Linux - General 1 09-26-2002 11:28 PM
Help compiling kernel with scsi options... mavness Linux - General 1 08-23-2002 08:21 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration