* Re: C compiler
@ 2002-05-19 18:18 Ken Martwick
2002-05-19 22:33 ` Alan Cox
2002-05-20 10:22 ` Harry Kalogirou
0 siblings, 2 replies; 8+ messages in thread
From: Ken Martwick @ 2002-05-19 18:18 UTC (permalink / raw)
To: Linux 8086
With the help of Gregg Levine <obiwanthejediknight@worldnet.att.net>,
a version of the Small-C compiler has been ported to ELKS and seems
to work well (and quickly)! Now, of course, an assembler, a linker,
and a library are needed. The ideal assembler would be a simple DOS
assembler (with source) which could be ported to ELKS. If anyone is
aware of such, please let me know. Since I don't know of any, I have
compiled "as86" with "bcc" so it can run under ELKS. The result runs
(and works) successfully with the "doselks" emulator, but fails while
trying to allocate 44,032 bytes of memory under ELKS. If anyone who
is familiar with the kernel can look at the problem, I can send a tar-
ball of the (slightly-modified) assembler source tree.
Ken Martwick
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: C compiler
2002-05-19 18:18 C compiler Ken Martwick
@ 2002-05-19 22:33 ` Alan Cox
2002-05-20 10:22 ` Harry Kalogirou
1 sibling, 0 replies; 8+ messages in thread
From: Alan Cox @ 2002-05-19 22:33 UTC (permalink / raw)
To: Ken Martwick; +Cc: Linux 8086
> and a library are needed. The ideal assembler would be a simple DOS
> assembler (with source) which could be ported to ELKS. If anyone is
as86 is probably what you want - as86/ld86 already load and link binaries
against the current C library so that side of the process is done
> compiled "as86" with "bcc" so it can run under ELKS. The result runs
> (and works) successfully with the "doselks" emulator, but fails while
> trying to allocate 44,032 bytes of memory under ELKS. If anyone who
Make sure you chmem it to a large data size
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: C compiler
2002-05-19 18:18 C compiler Ken Martwick
2002-05-19 22:33 ` Alan Cox
@ 2002-05-20 10:22 ` Harry Kalogirou
1 sibling, 0 replies; 8+ messages in thread
From: Harry Kalogirou @ 2002-05-20 10:22 UTC (permalink / raw)
To: Ken Martwick; +Cc: Linux 8086
[-- Attachment #1: Type: text/plain, Size: 339 bytes --]
Την Κυρ, 19-05-2002 στις 21:18, ο/η Ken Martwick έγραψε:
> With the help of Gregg Levine <obiwanthejediknight@worldnet.att.net>,
> a version of the Small-C compiler has been ported to ELKS and seems
> to work well (and quickly)! Now, of course, an assembler, a linker,
Very good news!! Some URL to put our hands on it!?
Harry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* C Compiler
@ 2003-12-27 8:20 Peter
2003-12-27 10:18 ` Amin
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Peter @ 2003-12-27 8:20 UTC (permalink / raw)
To: linux-newbie
Season Greetings!
Trying to install a program I get:
checking for C compiler default output... configure: error: C compiler cannot
create executables
when doing ./configure in RH9.
How do I correct this error?
Thanks & regards
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: C Compiler
2003-12-27 8:20 C Compiler Peter
@ 2003-12-27 10:18 ` Amin
2003-12-27 11:10 ` John Kelly
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Amin @ 2003-12-27 10:18 UTC (permalink / raw)
To: linux-newbie
On Saturday 27 Dec 2003 14:20, Peter wrote:
> checking for C compiler default output... configure: error: C
> compiler cannot create executables
Try searching for this exact phrase, with quotation marks surrounding
it, on Google.
HTH,
Yawar Amin
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: C Compiler
2003-12-27 8:20 C Compiler Peter
2003-12-27 10:18 ` Amin
@ 2003-12-27 11:10 ` John Kelly
2003-12-27 17:46 ` caszonyi
2003-12-28 4:21 ` joy
3 siblings, 0 replies; 8+ messages in thread
From: John Kelly @ 2003-12-27 11:10 UTC (permalink / raw)
To: linux-newbie
On Sat, 27 Dec 2003 16:20:40 +0800
Peter wrote:
>
> Trying to install a program I get:
>
> checking for C compiler default output... configure: error: C compiler cannot
> create executables
>
> when doing ./configure in RH9.
>
> How do I correct this error?
I can't be of much help here since I stopped using RedHat at version 7.3. However it sounds like
your C compiler may be broken.
What do you get from the following commands:
rpm -qa | grep gcc
gcc --version
Can you write a hello world program and compile it by hand?
If gcc is installed and working, perhaps the configure script is not finding it.
Try ./configure --help. You can usually pass ./configure an option to force it to use your gcc.
Hth.
John
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: C Compiler
2003-12-27 8:20 C Compiler Peter
2003-12-27 10:18 ` Amin
2003-12-27 11:10 ` John Kelly
@ 2003-12-27 17:46 ` caszonyi
2003-12-28 4:21 ` joy
3 siblings, 0 replies; 8+ messages in thread
From: caszonyi @ 2003-12-27 17:46 UTC (permalink / raw)
To: Peter; +Cc: linux-newbie
On Sat, 27 Dec 2003, Peter wrote:
> Season Greetings!
>
> Trying to install a program I get:
>
> checking for C compiler default output... configure: error: C compiler cannot
> create executables
>
> when doing ./configure in RH9.
>
> How do I correct this error?
>
you *must* install gcc and development packages for gcc and glibc
> Thanks & regards
> --
> Peter
>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: C Compiler
2003-12-27 8:20 C Compiler Peter
` (2 preceding siblings ...)
2003-12-27 17:46 ` caszonyi
@ 2003-12-28 4:21 ` joy
3 siblings, 0 replies; 8+ messages in thread
From: joy @ 2003-12-28 4:21 UTC (permalink / raw)
To: Peter; +Cc: linux-newbie
Peter wrote:
>Season Greetings!
>
>Trying to install a program I get:
>
>checking for C compiler default output... configure: error: C compiler cannot
>create executables
>
>when doing ./configure in RH9.
>
>How do I correct this error?
>
>Thanks & regards
>
>
I used to get the same message on my Deb system. I had not installed
glibc ( I was trying to do everything manually :-) and some other
packages related to gcc.
reinstall gcc from scratch and you are done.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-12-28 4:21 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-19 18:18 C compiler Ken Martwick
2002-05-19 22:33 ` Alan Cox
2002-05-20 10:22 ` Harry Kalogirou
-- strict thread matches above, loose matches on Subject: below --
2003-12-27 8:20 C Compiler Peter
2003-12-27 10:18 ` Amin
2003-12-27 11:10 ` John Kelly
2003-12-27 17:46 ` caszonyi
2003-12-28 4:21 ` joy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.