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,445 of 17,684   
   J.O. Aho to Mark Hobley   
   Re: Gentoo: How to stop emerge from over   
   25 Jan 09 17:00:10   
   
   XPost: comp.os.linux.misc   
   From: user@example.net   
      
   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 $@   
      
   You have the CFLAGS in /etc/make.conf for this and if you are too old to   
   remember that when you compile something without the usage of emerge, I would   
   suggest you used and alias in your shell.   
      
      
   > 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 would need to modify your ebuild, so it attaches a exec prefix to the   
   filenames.   
      
   I doubt you are doing things in a good way, you seem to try to break   
   everything possible in Gentoo for you don't want to do it the "Gentoo way".   
      
      
   --   
      
     //Aho   
      
   --- 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