Slackware :: Set CFLAGS And Other Make Options?

Jan 2, 2010

I've been googling and reading up on how to set build optimizations for my system, and after consulting the Arch Wiki, old threads here, and some mailing lists, I've concluded that the way to set CFLAGS, etc. is by putting this in /etc/profile:

Code:
export CHOST="x86_64-unknown-linux-gnu"
export CFLAGS="-march=native -O2 -pipe"

[code]....

View 6 Replies


ADVERTISEMENT

Software :: Bash Script Calling Make Files With CFLAGS Prepended?

Feb 6, 2010

Most all of this works when I execute it manually, but I cannot figure out how to get a bash script to execute it automatically.In this particular case, I am trying to build the xorg utilities. If I manually step through the process, prepending the commands with CFLAGS, LDFLAGS, etc, all of the packages build.So I created a bash script, test.sh:

Code:
#!/bin/bash
export INITFS=/initfs

[code]...

View 5 Replies View Related

Slackware :: Worth Changing Chost If System Built With Custom Prescott Cflags?

Oct 18, 2010

I built my slackware system from source code. Bootstrapped, toolchained etc.. The only thing I didn't change was the chost thinking that life would be easier if left alone @ i486. Would I have gained anything if I had used i786 or even pentium4 (pentium4-slackware-linux-gnu)?

I already got all the benefits of optimization when I used (still using) my own CFLAGS CXXFLAGS right? So changing the chost won't do anything speed wise will it? If I used march=prescott when compiling everything am I ok to just forget about the chost value? It's not gonna change anything will it?

View 7 Replies View Related

Programming :: Default CFLAGS In Gcc When None Are Specified?

Oct 21, 2010

I have kind of a weird question. All Slackbuilds use -march=i486 -mtune=i686 -O2 to pass to gcc for standard building. What does gcc use by default if none are specified. Say for instance I just did ./configure && make && make install without specifying -march.

View 7 Replies View Related

Ubuntu :: Apt-get -b Source: How To Add CFLAGS/CXXFLAGS

Apr 1, 2010

I was wondering if there were a way to use the apt-get -b source command and add CFLAGS and CXXFLAGS in order to build things with optimized code. Also, would it be possible to use Intel's ICC for compiling with apt-get -b source

View 1 Replies View Related

Ubuntu :: Make The Synclient Options Permanent?

Jan 4, 2011

Since the 10.10 upgrade my mouse clicks on my laptop have been behaving rather oddly. Sometimes it randomly does a middle click when i'm doing a left click, which is really annoying because it means that sometimes tabs close or my text gets random bits of text appearing in it. I've found that running this command "synclient tapbutton2=2 tapbutton3=0 rtcornerbutton=0 rbcornerbutton=0 clickfinger3=0" fixes it, but only temporarily, sometimes it only lasts like 10 minutes or so, other times it lasts till reboot. So, is there anyway to make these changes permanent?

View 1 Replies View Related

Slackware :: Options To Upgrade KDE To 4.6.1 Or Not?

Mar 16, 2011

I just installed slackware 13.1 and my KDE is version 4.4.3, I want to upgrade to version 4.6.1 or at least 4.6.0. I have used alien repository and download KDE 4.6.1 but it doesn't work.

Are they any options to upgrade my KDE to 4.6.1 or not?

View 4 Replies View Related

Ubuntu :: ScrotWM And Startup Scripts Make Options Disappear From GDM?

Feb 27, 2011

So lately I've been wanting to mess around with lightweight window managers. So installed both awesome and scrotwm from synaptic. Apparently these window managers need a startup script in order boot some applications on startup.

I've tried a few, but everytime I change the file *desktop, these desktop environments disappear from the options on GDM.

View 3 Replies View Related

Programming :: Make Radiolist Dialog Which Content So Many Options What Is The Value Of The Variable?

Dec 14, 2010

How can I make radiolist dialog which content so many options what is the value of the variable?Quote:

echo "How many options?"
read=VAR
dialog --title "sdf" --backtitle "sdff" --radiolist "ffdsfsd" 15 60 5 "1" "first" on "2" "second" off "3" "third" off "4" "fourth" off etc..

I must explode dialog in loop and add options? or something like that?

View 2 Replies View Related

Slackware :: Use Mac Filtering Options Of Iptables?

Feb 18, 2010

I have slackware 13.0 on my HP 520 laptop.My machine is connected to the internet and it also act as a gateway for other machine of mine.

I want to use mac filtering options of iptables.But i am getting following error

iptables v1.4.3.2: Couldn't load match `ac-source':/usr/libexec/xtables/libipt_ac-source.so: cannot open shared object file: No such file or directory

View 4 Replies View Related

Slackware :: Options Dropped In Sendmail 8.14.4?

Apr 25, 2011

I recently tried to upgrade my Slackware server's sendmail software from 8.14.3 to 8.14.4 and ran into a problem. In a nutshell all outbound non local mail is routed through a smart host requiring authentication. As a result I use a modified version of the "sendmail-slackware-tls-sasl-clamav.mc" to build the sendmail.cf. However, when I tried to run sendmail 8.14.4 with my newly created sendmail.cf I was greeted with the following.

Warning: Option: AuthMechanisms requires SASL support (-DSASL)
Warning: Option: AuthOptions requires SASL support (-DSASL)
Warning: Option: CACertPath requires TLS support
Warning: Option: CACertFile requires TLS support

[Code]....

Apparently SSLv2 is now considered weak and the directive is a good idea, but at present this directive is not supported by the sendmail in this package.

View 4 Replies View Related

Fedora Installation :: Make Menuconfig Options For LIRC Not In .config File Anywhere

Aug 25, 2009

When configuring a custom kernel using fedoraproject.org instructions, the make menuconfig options for LIRC are not in the .config file anywhere. I checked the kernel tree and all the files are there in the .../drivers/input/lirc subdirectory (I need the lirc_dev and lirc_i2c drivers). I reset the .config to its original settings to make sure I didn't mess up. I also grep'ed the .config file for any LIRC related settings, none found. Also I'm not getting any sound from the radio-aztech driver.

View 1 Replies View Related

Slackware :: Compiling Kernel Sources To Add Few Options

Apr 18, 2010

I want to compile a kernel to add a few options that are not enabled in the huge-smp-2.6.29.6 that comes with slackware. specifically, i want to add TASK_DELAY_ACCT and TASK_IO_ACCOUNTING so that I can use iotop. I just want to add those 2 options to the new kernel, everything else I'd like to keep the way it is as the system has been running just fine. Will running 'make menuconfig' in /usr/src/linux default to the options that are used in the stock kernel?

View 3 Replies View Related

Slackware :: No Way To Enter Extra Boot Options

Mar 11, 2011

I used btrfs, but my Slackware root is really a subvolume named system and not the root of btrfs. I do a similar setup of having the OS's root in it's own filesystem on FreeBSD+ZFS.Anyways, my problem lies in mkinitrd. There's no way to enter extra boot options, as I require subvol=system to be added to mount -o ro -t $ROOTFS $ROOTDEV /mnt.in the init script of /boot/initrd.gz. I don't reboot often and it's easy to manually remount /mnt with the correct options, however, is there another way of passing boot options to mkinitrd?

I see Patrick is the author of mkinitrd, so maybe this kind of option could, or maybe should, be added? I'm sure most people wouldn't make a subvolume for the OS's root, but I've been use to it with ZFS and prefer it for some reason.

View 7 Replies View Related

Slackware :: Add Any Special Options To Mkinitrd For AHCI Configuration?

Apr 29, 2011

Do I need to add any special options to mkinitrd for AHCI configuration?

mkinitrd -c -k 2.6.37.6-smp -m ext4

Does it know I'm not in legacy PATA mode or do I have to add something to load AHCI module with it?

View 3 Replies View Related

Slackware :: Options For Enlarging Root File System?

Feb 16, 2010

I need to enlarge the root file system on a Slackware 13.0 32-bit system; it's in a simple logical partition (/dev/sda6) -- no LVM, mirroring etc. This might be a good opportunity to change from ext4 to jfs, too.Routine procedure, no? No!First off I booted Knoppix 5.31 but found it doesn't have ext4 support (no efs2ck and running fsck results in "fsck.ext4: not found").So I booted Slackware 13.0 32-bit CD-1 only to get the same as with Knoppix.I do have a GParted-liveCD 0.3.4-11 but have had mixed experiences with it so am reluctant, despite having backups.

View 11 Replies View Related

Slackware :: Xfce4-power-manager-1.0.1 And No Battery Options

Oct 17, 2010

I noticed that there is a 1.0.1 version of xfce4-power-manager, so I tried it out last night. Note: It requires libxfce4ui >= 4.7. I compiled it using the same SlackBuild script as the one in Slackware 13.1. It compiled and installed just fine. However, when I logged out of XFCE and logged back in, I could only set a few options, and battery options were completely non-existant.

I double-checked, and my user account in in the power group. Has anyone else had a similar problem? In the meantime, I've downgraded back to the 0.8.5 version that Slackware ships with.

View 3 Replies View Related

Slackware :: Add A Second Physical Drive With Windows 7 On It To The Boot Options In Lilo?

Mar 14, 2011

I'm familiar with editing Grub's "menu.lst" file to add additional OS's to the boot list. Does Slackwares Lilo have a similar config file ? I need to add a second physical drive with Windows 7 on it to the boot options in Lilo. If it's not a config file, how do I add a second os to it ? Slack and Windows are both already installed on two different physical drives so I won't be installing, I just need to add the Windows drive to Lilo.

View 5 Replies View Related

Slackware :: Dual Monitor Error - Resolution As CRT-1 Only Have 2 Options: 640x480 & 320x240

Apr 27, 2010

I use slackware 13.0 64bit and VGA EN9400GT, I have two monitor samsung that is: SNX(CRT-0) && 943SNX(CRT-1) series, i had try setting it in nvidia X server settings but the resolution as CRT-1 only have 2 options that is: 640x480 & 320x240. this is my xorg.conf # nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings: version 1.0 (buildmeister@builder58) Fri Mar 12 02:13:46 PST 2010

[Code]....

View 14 Replies View Related

Slackware :: Install Windows And Now Cannot Enter In Slack ( No Start Screen With Options OS )

Nov 8, 2010

I have Windows 7 and Slackware on my laptop, but I reinstall Windows 7 and now I cannot enter at Slackware ( I don't have anymore start screen to choose OS). Do I need to install again Slackware or just lilo and how to do that?

View 12 Replies View Related

Slackware :: Make: *** No Rule To Make Target `pkg'

Feb 25, 2011

I have down loaded: slapt-get-0.10.2h-i386-1.tgz I have read the install directions:

Quote:

- Using pkgtools: ----------------

To install:

$ make pkg
$ installpkg ./pkg/slapt-get-${VERSION}-${ARCH}-${RELEASE}.tgz

When I try make pkg, I get:

Code:

root@darkstar:/home/rob# make pkg
make: *** No rule to make target `pkg'. Stop.

I guess that I do not understand the instructions?

View 5 Replies View Related

Slackware :: Make Bootloader Include Slackware In Its' Menu?

Jan 6, 2011

To an empty disk I installed:

1) Windows XP & then shrank it's partition to make room for OpenSuse) 2) OpenSuse with grub installed on the MBR (& then shrank the home partition & created a new root and home partition for Slackware 13.1). These two OSes dual-booted properly 3) Slackware 13.1 with LiLo installed to the superblock of the Slackware root partition (sda8). How do I get Slackware to be a 'working' selection on the boot menu?

View 14 Replies View Related

Slackware :: Can I Make KDE / Gnome Look Like Windows 7 In Slackware

Feb 26, 2010

You might be asking why would I want to this? I will tell you why. My wife. She has grown up using Windows. The jump from Windows XP to 7 wasn't as bad as I thought it would be for her. I just had to show her where things changed to for about 10-20 minutes and that was that.

I did a trial run with Ubuntu for about a month using Gnome and not her cup of tea. So now I did a search on the Internet and came up with a Gnome solution here is the link:

http://aminesoft.wordpress.com/2009/...ike-windows-7/

And a KDE link:

http://www.kde-look.org/content/show...content=104232

But both websites are oriented towards Ubuntu/Kubuntu. I am just wondering if this will work with Slackware???

My wife likes a speedy system almost as much as I do. She also like the Search field when you click on the Start menu in Windows 7, the taskbar at the bottom, the big red X in right hand corner of the windows.

I just hope I can go this route and change it to look like Windows 7. I will be very happy and so will my wife of course.

View 8 Replies View Related

Slackware :: Can't Make Local Mirror Of Slackware

Sep 10, 2010

I have done several attempts to build a local mirror of Salckware 13.0. There are two problems: I have to wait very long for a connection, they appear error during a connection which broke it so I have to restart. Is there any other way to build mirror? I am using Alien Bob scripts. Never before happened something like that. The connections with common web pages (google, etc) work well. Maybe I should look for some other mirror than those listed in mirror-slackware-current.sh.

[code]....

View 8 Replies View Related

Ubuntu :: "Make Startup Disk" Options Grayed Out

Aug 8, 2010

I am trying to make a startup disk; i have inserted 4GB pen drive, correctly formated. When i go to System>Administration>Startup Disk Creator i can see the everything, but options "Stored in reserved extra space" etc are all grayed out. I have attached a screenshot, hope it helps in explaining my problem. how to getting these options enabled? My OS is Ubuntu 10.04

View 6 Replies View Related

Ubuntu Installation :: Installer Options - Can't Select Any Of The Menu Options Except For Boot From First Hard Drive

Mar 19, 2010

So I have the burned ubuntu CD, and I'm attempting to install it on a system that has one HDD with XP/Vista on it, and another that is completely formatted and unpartitioned. However, when I boot to the ubuntu CD, I can use the menus from the bottom, and select the language when initially prompted, but I can't select any of the menu options except for boot from first hard drive.

View 1 Replies View Related

Slackware :: Make Donation To Slackware?

May 27, 2010

I will be finishing my upgrade cycle to 13.1 and I am a very happy man! Slackware 13.1 is First Rate. I think it is very important that we support Patrick Volkerding so that he can continue to deliver our favourite OS to us. Slackware is PV's source of income. I just made a donation to Slackware using paypal (see the donate link in my signature), it works flawlessly. donate whatever you can: Make a donation using paypal, buy the CDs/DVD, buy a Slackware subscription, or pick up some merchandise at the Slackware store.

View 14 Replies View Related

Slackware :: Take Current Windows7 (x64) Setup And Make It Into A Dual-boot Setup With Slackware 13.0?

Jan 24, 2010

I'm trying to take my current windows7 (x64) setup and make it into a dual-boot setup with slackware 13.0 (x32) and am hitting a brickwall. I guess I would like to know if I can salvage the situation without formating my windows drive. I fully intend to, but I had hoped to not do it this month. I'd like to get dual boot going so I can master it and acquire all the files/drivers I'll want and then format and do it 100% right next time.

Currently I have windows setup on a 3x 500gb Raid0 onboard array which itself has been flawless. After I shrunk my current partition size to give me about 25gb of free space I proceeded to setup Linux, and I was unable to perform the cfdisk portion for partitioning the array for Linux.

I tried using cfdisk:
/dev/hdx (a1-a3,b1-b3)
/dev/sdx (a1-a3,b1-b3)

I even attempted to locate with: cat proc/partition and tried using cfdisk on every device it located. It always said it was either an unknown partition table and should I start at zero, or bad partition. I was of course too concerned over my windows setup (which has almost 1tb of stuff I have not backed up) to go any further into the unknown.

PS: I have used Slackware before, back at 8.1, 10, and even a very brief interlude at 12.0, this is my first attempt on this computer however with 13.0, it is currently running fine on my laptop and my PS3 (Laptop is even dual booting 7/Slack13. Albeit without raid)

Phenom 9850
M2N-SLI Deluxe (Nvidia AM2)
4x1gb of 1066 kingston hyperX
3x500gb WD Caviar Black Sata2 3.0

View 3 Replies View Related

Slackware :: Can't Make Playonlinux Run?

Jul 9, 2011

I am trying to install Playonlinux on slack 13.37 and I installed it through slackbuild. But when I try to run it, it hangs at this message:

Code:
bash-4.1# playonlinux
PlayOnLinux v3.8.12
Traceback (most recent call last):
File "/usr/share/playonlinux/python/question.py", line 21, in <module>
import wxversion, os, getopt, sys, urllib, signal

[Code]...

View 5 Replies View Related

Slackware :: How To Make TAR As TGZ File

Jan 21, 2011

I found program but they are tar.bz2 and tar.gz and they are not work on slackware. How can I make them tgz file. Last night I am download src2pkg but I don't know how to use it.

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved