gcc "doesn't work" (was:(no subject))
Fabian Keil
freebsd-listen at fabiankeil.de
Wed May 3 19:11:48 UTC 2006
"gs_stoller at juno.com" <gs_stoller at juno.com> wrote:
> My version of gcc doesn't work (reports errors in code that
> compiles elsewhere). Where can I go to download a later version of
> GNU code for gcc & gdb suitable for a FreeBSD system? I went to
> the GNU site but all I found there was source code ( .c & .h ),
> useless without a working compiler. Also, even if I had found a
> working binary, how would I know if it is for FreeBSD , LINUX ,
> Solaris , or some other system? Are there inexpensive but good working
> commercial compilers suitable for a FreeBSD system? If so, what are
> they and how can their distributors be contacted? What about shareware
> or freeware?
I can't believe that FreeBSD's gcc version "doesn't work".
It's more likely that your code needs libraries you don't have,
or your system's memory is corrupt. Hard to tell without knowing
the error message.
Switching the compiler wouldn't solve these problems.
Anyway you can find different gcc versions in the ports collection.
If your compiler really is broken, you could install them as package.
Fabian
--
http://www.fabiankeil.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060503/82f0f114/signature.pgp
More information about the freebsd-questions
mailing list