This is the mail archive of the ecos-devel@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RE problem with gcc3.2 compiler


Ottawa Guy wrote:
Thanks Jifl for your response. With the warning when I
try to run my code, my system hangs. That mean
"--gc-sections" flag must be cleaning up something
else.

You mean it works when you use -Wl,--gc-sections?


Do you any chance have "sparc-elf" for gcc3.x toolset
for a linux machine. I compiled the tool set on my
linux machine, I still have the same
problem(constructor ordering).

Sorry I don't. We've recommended Jiri's site for those tools since this is his port.


I downloaded the "sparc-elf" binary file from
"www.gaisler.com" website. I get the following error. root@ssc045 examples]# sparc-rtems-gcc hello.c -I./ -o
hello.out
-I/tmp/ecos/install/include -L/tmp/ecos/install/lib
-nostdlib
-Wl,--gc-sections -Ttarget.ld
/opt/rtems/lib/gcc-lib/sparc-rtems/3.2.3/../../../../sparc-rtems/bin/ld:
warning: cannot find entry symbol start; defaulting to
40001300

That may be benign, however it's meant to get the start information from target.ld, e.g. in hal/sparc/arch/current/src/sparc.ld:


ENTRY(reset_vector)

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]