Description:
GNU C Compiler (gcc) user queries and answers.
|
|
|
Print full paths of libraries used when linking?
|
| |
Hi!
Is it possible to print the full paths of libraries that is used
during linking? I am using the cross compiler "powerpc-e500-linux-gnu-
gcc".
Instead of "-lc" "-lgcc" "-lmy_lib" etc. I would like to see the full
paths.
Brs,
Markus
|
|
command line argument expansion
|
| |
I'm in a Windows7 'term' with gcc version 4.5.0. Is there any way I
can prevent command line arguments that contain a wildcard from being
expanded, other than enclosing them in single quotes? Example: I want
to pass the string "*.xyz" to my program by simply doing
c:\a.exe *.xyz
But what is happening is that the 'term' sees... more »
|
|
why all symbols start with offset zero?
|
| |
hi all
why all symbols start with offset zero?
In archive /root/Downloads/newlib-install /i386-peter-elf/lib/libc_peter .a:
chown.o: file format elf32-i386
SYMBOL TABLE:
00000000 l df *ABS* 00000000 chown.c
00000000 l d .text 00000000 .text
00000000 l d .data 00000000 .data... more »
|
|
Help with Hand-Optimized Assembly
|
| |
I'm a 100% total newbie at writing assembly. But I figured it would
be a good exercise. And besides, this tiny chunk of code is
definitely in the critical path of something I'm working on. Any and
all advice would be appreciated.
I'm trying to rewrite the following function in x86 assembly:... more »
|
|
objdump --start-address has bug
|
| |
Hi all
I want to dump the main function only, so I type:
/root>objdump -S /root/workspace/PeterI/bochs/. ./kernel/kernel.o --start-address=8046 --stop-address=8056
/root/workspace/PeterI/bochs/. ./kernel/kernel.o: file format elf32-i386
Disassembly of section .text:
00001f6e <main>: <----------------- but this line shouldn't be here, and the offset is wrong, it is no 1f64 too... more »
|
|
Help regarding GCC parsing.
|
| |
Hi,
Please help. dont know if i am posting on the right group.
when gcc parses declarations in a C file, is it possible to make
gcc call some function hooks?
Like if it successfully parsed a structure , it should call a
callback. with the structure it has parsed.
Regards.
|
|
ld problem building microblaze cross compiler
|
| |
The build seems ok but when I try to run I get:
.../usr/local/microblaze-elf/l ib/gcc/microblaze-elf/4.6.2/.. /../../../
microblaze-elf/bin/ld: cannot find -lxil
collect2: ld returned 1 exit status
Any help appreciated.
Thanks,
Jose
|
|
|