LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

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

Rep: Reputation: 15
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
 
Old 10-06-2004, 09:05 PM   #2
m00t00
Member
 
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.
 
  


Reply


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 07:46 PM
Compiling Perl? Inexactitude Programming 3 04-15-2004 05:01 PM
Compiling ip_queue with other options? Jimbo Mahoney Linux - General 1 06-08-2003 05:17 PM
Kernel Compiling options moger Linux - General 1 09-26-2002 10:28 PM
Help compiling kernel with scsi options... mavness Linux - General 1 08-23-2002 07:21 AM


All times are GMT -5. The time now is 03:52 AM.

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