Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!actcsiro!news.nsw.CSIRO.AU!wabbit.its.uow.edu.au!news.ci.com.au!newshost.telstra.net!act.news.telstra.net!imci3!imci4!newsfeed.internetmci.com!in2.uu.net!news.u.washington.edu!root From: kargl@troutmask.apl.washington.edu Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: FreeBSD and GNU gcc Date: 23 Apr 1996 17:04:33 GMT Organization: Applied Physics Laboratory Lines: 48 Message-ID: <4lj2j1$ro9@nntp5.u.washington.edu> References: <sjqiRAAuaUexEwKO@ruthless.demon.co.uk> <ZV4b7AAm$$exEwfe@ruthless.demon.co.uk> NNTP-Posting-Host: troutmask.apl.washington.edu Ravi Cheema <ravi@ruthless.demon.co.uk> wrote in article <ZV4b7AAm$$exEwfe@ruthless.demon.co.uk> : > [deleted David's reply] >David, > >Thanks for your reply. You could be right, I'm not actually running >'gcc' but 'cc', when I type 'man cc' it displays the man page for 'gcc' >so I assume I'm actually using 'gcc' when I run 'cc', is this correct? Yes, gcc is the default C compiler on a FreeBSD box. So, cc actually involves gcc. >Certain programs within the application compile using 'cc' and run OK, >but a particular program which is quite large compiles OK but fails with >the error 'Exec format error. Wrong Architecture.' Try 'file executablr_name' at the shell prompt. This will tell you the magic of the file. For example, kargl[222] file /usr/bin/cc /usr/bin/cc: FreeBSD/i386 demand paged dynamically linked executable > >Could this be a resource problem? i.e. the system reporting a lack of >memory in a stange way? > >Any help on this would be most appreciated. > >____________________________________________________________________________ >Ravi Cheema "We take a handful of sand from the ><ravi@ruthless.demon.co.uk> endless landscape of awareness around us ><ravi@osm.co.uk> and call that handful of sand the world." >____________________________________________________________________________ > Steve finger -l kargl@troutmask.apl.washington.edu http://troutmask.apl.washington.edu/~kargl/sgk.html Permission is hereby granted to forward this message in its entirety to whomever you like unless I explicitly state that the content is confidential. I reserve the right to forward a received message in its entirety to whomever I like unless you explicitly state that the content is confidential.