4 msgExtracting all functions from C++ source code
2 msgForce GCC to unroll a loop?
5 msgSyslog fixes a bug?
2 msggcc 4.2.x large file support
2 msgWindows DEP problem with nested functions
8 msgPorting GCC to 8051 Microcontroller
2 msgCleanup for thread local storage?
3 msgGCC 4.3.2 Install into Cygwin
4 msggcno file doesn't include uncalled member funct...
3 msgGCC 4.3.0 configure failure: libgcc
2 msglex/yacc
1 msgBuilding trunk -- error msg instrucitons not qu...
2 msgMIPS atomic builtins
3 msgEnabling loop unrolling in small sections of code.
1 msg#pragma warning
2 msgProblems building gcc 4.3

gcc 4.3.0 -- program search path issue
\ Toufique, Imam (5 May 2008)
. \ Tom Browder (6 May 2008)
. . \ Toufique, Imam (6 May 2008)
. . . \ Tom Browder (6 May 2008)
. . . . \ Toufique, Imam (6 May 2008)
. . . . . \ Tom Browder (6 May 2008)
. . . . . . \ Toufique, Imam (6 May 2008)
. . . . . . . \ Tom Browder (7 May 2008)

1 msgRe: WELCOME to gcc
2 msgInclude paths for cpp/g++ (gcc 4.3.0)
2 msgLinking a library and source file into another ...
Subject:gcc 4.3.0 -- program search path issue
Group:Gcc-help
From:Toufique, Imam
Date:5 May 2008


Hi,

I managed to compile gcc 4.3.0 is SuSE Linux Enterprise Server 9 (32-bit
& 64-bit), and I have run into this issue where gcc or g++ cannot find
it's internal programs (cc1, cc1plus, etc) while try to compile my code.

I am using binutils 2.18 for this build.

Here is an example:

host1> gcc hello.c -o hello.r
gcc: error trying to exec 'cc1': execvp: No such file or directory
host1> which gcc
/usr/gcc-4.3.0/bin/gcc


If I specify the full path where 'gcc' lives, the compile goes through
OK.

host1> /usr/gcc-4.3.0/bin/gcc hello.c -o hello.r
gcc: error trying to exec 'cc1': execvp: No such file or directory

host1> /usr/gcc-4.3.0/bin/gcc hello.c -o hello.r
host1> ./hello.r
hello, world

'-print-search-dirs' output shows that that '/usr/gcc-4.3.0' is not in
the programs search path.

I am not sure what needs to be done at this stage to fix this issue.

If anyone can give me an hand with this, that would be very much
appreciated!

Thanks


© 2004-2008 readlist.com