home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.gentoo      Stupid OS you gotta compile EVERYTHING      17,684 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 16,446 of 17,684   
   Nikos Chantziaras to Mark Hobley   
   Re: Gentoo: How to stop emerge from over   
   25 Jan 09 20:25:09   
   
   XPost: comp.os.linux.misc   
   From: realnc@arcor.de   
      
   Mark Hobley wrote:   
   > I am using Gentoo. I have created a couple of wrapper scripts to force   
   > parameters into the assembler and compiler as follows:   
   >   
   > /usr/bin/gcc:   
   >   
   > #!/bin/sh   
   > gcc.real -march=i386 -Wa,-march=i386 $@   
   >   
   > I did a similar thing with /usr/bin/as   
   >   
   > The original compiler and assembler have been renamed as follows:   
   >   
   > /usr/bin/gcc.real   
   > /usr/bin/as.real   
   >   
   > I want to: emerge -av1 binutils gcc glibc   
   >   
   > How do I prevent cause the updated compiler and assembler to overwrite   
   > the renamed targets gcc.real and as.real, rather than the wrapper   
   > scripts?   
      
   You don't create scripts.  You leave everything as-is and put those   
   options in /etc/make.conf.  CFLAGS, CXXFLAGS and LDFLAGS.  If you want   
   this for manual builds too (as opposed to builds initiated by portage),   
   use /usr/local/bin instead of /usr/bin.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca