On Thu, Aug 08, 2002 at 09:01:01PM +0300, Shachar Shemesh wrote:
My question is, can I compile in the same command line some files under
-O1 and some under -O3?
If they're going to be linked together, that's a very bad
idea. Otherwise, you could probably do it with some Makefile hackery.
Nadav Har'El [EMAIL PROTECTED] writes:
But if you're going to compile some of the code with -O1 and -O3, your
Makefile or configure script are going to look realy hairy :( It will
look like black magic. A better (but more time consuming) thing to do is
to try to find the offending piece of
Muli Ben-Yehuda [EMAIL PROTECTED] writes:
I was thinking of kernel compilation, which requires -O2 (force
inlining)
-O3 turns -finline-functions on. -O2 turns -fforce-mem on, maybe
that's what you meant.
and thus would break horribly if you compile some of the files with
O1.
Why? Why
On Fri, Aug 09, 2002 at 10:10:00AM +0300, Oleg Goldshmidt wrote:
Muli Ben-Yehuda [EMAIL PROTECTED] writes:
I was thinking of kernel compilation, which requires -O2 (force
inlining)
-O3 turns -finline-functions on. -O2 turns -fforce-mem on, maybe
that's what you meant.
The kernel
Quoth Orr Dunkelman:
The code is closed under some legal agreements, so I cannot release it,
neither send gcc a bug-report.
For baseline comparison sake, could you give a compilation round under
icc (Intel's i386 copiler)... It (the icc) is somewhat more pedantic
than gcc and might flush
On Thu, Aug 08, 2002, Muli Ben-Yehuda wrote about Re: gcc question:
On Thu, Aug 08, 2002 at 06:31:11PM +0300, Orr Dunkelman wrote:
...
My question is, can I compile in the same command line some files under
-O1 and some under -O3?
If they're going to be linked together, that's a very bad
On Thu, 8 Aug 2002, Orr Dunkelman wrote:
The code is closed under some legal agreements, so I cannot release it,
neither send gcc a bug-report.
The possibility that gcc is somehow sensitive to the legal status of
the code in question does not have to be ruled out.
How this might happen
On Thu, Aug 08, 2002 at 06:31:11PM +0300, Orr Dunkelman wrote:
I've stumbled with the following problem regarding gcc. Assume for a
moment I compile many files, some are header files, some are interface
files, and some are the real program.
When compiling with -O1 optimization things work,
do setenv CC /usr/bin/kgcc
or export CC=kgcc on bash
Ely Levy
System group
Hebrew University
Jerusalem Israel
On Wed, 18 Oct 2000, Yosi wrote:
| Hi,
|
| After reading the answers of Guy and Omer, to your question, I think
| that neither of them actually answered, on how to compile a
Hi,
After reading the answers of Guy and Omer, to your question, I think
that neither of them actually answered, on how to compile a kernel on
RedHat 7.0 . If we forget for a moment the flame war about the
decision to include a snapshot of gcc in RH7 , and focus on your
probelm, the answer will
Yosi wrote:
Hi,
After reading the answers of Guy and Omer, to your question, I think
that neither of them actually answered, on how to compile a kernel on
RedHat 7.0 . If we forget for a moment the flame war about the
decision to include a snapshot of gcc in RH7 , and focus on your
Hi,
Alex is right, you have to change the kernel's Makefile so it will use
kgcc insted of gcc. Alex is also correct that the answer I gave
appears in the manual.
Yosi
Alex wrote:
i think you also have to set the "CC" system variable to "kgcc" by
the way from what I know this issue is stated in
Hi all.
Having recently installed RH7 I tried to compile several things, such as
modem driver, new kernel and modules, in all cases compiler (gcc) reports of
a bunch of errors and exits.
Both modem driver and kernel (2.3.9) compile OK in Slackware 7 on gcc-2.92.
Now I use version 2.96 of gcc,
On Tue, 17 Oct 2000, Maxim Kryachko wrote:
Having recently installed RH7 I tried to compile several things, such as
modem driver, new kernel and modules, in all cases compiler (gcc) reports of
a bunch of errors and exits.
Both modem driver and kernel (2.3.9) compile OK in Slackware 7on
guy keren wrote:
On Tue, 17 Oct 2000, Maxim Kryachko wrote:
Having recently installed RH7 I tried to compile several things, such as
modem driver, new kernel and modules, in all cases compiler (gcc) reports of
a bunch of errors and exits.
Both modem driver and kernel (2.3.9) compile OK
15 matches
Mail list logo