Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2007 17:31:39 -0800
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        "Rod Person" <rodperson@verizon.net>
Cc:        "questions @ freebsd. org" <questions@freebsd.org>
Subject:   Re: C compiler cannot create executables
Message-ID:  <8cb6106e0711061731u25002f6cq1e216280d24c7bde@mail.gmail.com>
In-Reply-To: <20071106193829.531e3067@atomizer.opensourcebeef.net>
References:  <20071106193829.531e3067@atomizer.opensourcebeef.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> configure: error: C compiler cannot create executables
>
> I googled for awhile and found the suggestion to reinstall libtool, but
> that also fails with the same error.

Can you paste the config.log from the port's work source directory
(where configure is located)?

Can you try the following and see if it compiles?

echo '#include <stdio.h>\nint main(void){ printf("hello world!\\n");
return 0;}\n' > t.c ; gcc t.c -o t; ./t; rm t.c

You should either see:

hello world!

Or some compiler errors/warnings/etc.

Josh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0711061731u25002f6cq1e216280d24c7bde>