LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Can anyone see any reason why a customer would need to compile a new compiler?

[ILUG] Can anyone see any reason why a customer would need to compile a new compiler?

paul at clubi.ie paul at clubi.ie
Tue Jun 27 10:59:57 IST 2006


On Tue, 27 Jun 2006, Declan Moriarty wrote:

> I didn't find it subtle, but adverserial.

Hmm, maybe - take it as good-humoured though.

> are coming up with different results. You should try installing gcc-4.1
> sources on a vanilla rhel

I don't have that particular 'enterprise' OS available, but I can try 
another..

> and see how far you get. I'll allow you the odd sed on Makefile & 
> configure script, but no patches or editor hacks, and definitely no 
> make -k.

Hmm, well would just 'configure && make' be acceptable?:

$ wget http://ftp.heanet.ie/pub/gnu/gcc/gcc-4.1.0/gcc-core-4.1.0.tar.bz2
$ gtar -xjf gcc-core-4.1.0.tar.bz2 && cd gcc-4.1.0
$ (./configure && time nice -n 10 gmake -j48) > /dev/null
<snip>
real    3m36.810s
user    7m39.544s
sys     4m27.859s
$ ./host-sparc-sun-solaris2.10/gcc/xgcc --version
xgcc (GCC) 4.1.0
<snip>
$ gmake DESTDIR=/tmp/gcc-inst INSTALL=ginstall install > /dev/null
<snip>
$ echo -e '#include <stdio.h>\nint main (void) { \
printf("hello world\\n"); }' > test.c && \
  /tmp/gcc-inst/usr/local/bin/gcc  -o ./test -O -lc ./test.c && ./test
hello world

NB: the compile time is slightly slow due to various 'very far away' 
NFS mounts I have in my PATH.

Now, I didn't actually check whether or not that machine had the 
latest Linux kernel headers installed, so I can't guarantee it didn't 
- however if it did, it would surprise me... ;)

So I think I can hold off on filing a GCC bug for now.

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
What's the matter with the world?  Why, there ain't but one thing wrong
with every one of us -- and that's "selfishness."
 		-- The Best of Will Rogers



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell