This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Latest redboot for PC - how to build?
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: Re: [ECOS] Latest redboot for PC - how to build?
- From: Dmitry Ryzhkov <rdim_outside at softhome dot net>
- Date: Thu, 18 Oct 2001 00:48:46 +0200
- Organization: Me
- Reply-To: rdim_outside at softhome dot net
Jifl,
Thank you very much for your help!
export solved problem with --srcdir!
But link problem remains... :(
Here is ld's output:
==
[rdim@localhost bin]$ pwd
/tools/H-i686-pc-linux-gnu/i386-elf/bin
[rdim@localhost bin]$ ld -v
GNU ld version 011013 20011013
[rdim@localhost bin]$
==
May be I have to use another ld, for instance located here?
==
[rdim@localhost bin]$ pwd
/tools/H-i686-pc-linux-gnu/bin
[rdim@localhost bin]$ ls -l
ΙΤΟΗΟ 15796
-rwxr-xr-x 1 root root 199880 Oct 13 23:54 cpp
-rwxr-xr-x 1 root root 1192417 Oct 13 23:36 i386-elf-addr2line
-rwxr-xr-x 2 root root 1077307 Oct 13 23:36 i386-elf-ar
-rwxr-xr-x 2 root root 1624608 Oct 13 23:36 i386-elf-as
-rwxr-xr-x 2 root root 199863 Oct 13 23:54 i386-elf-c++
-rwxr-xr-x 1 root root 99010 Oct 13 23:54 i386-elf-c++filt
-rwxr-xr-x 2 root root 199863 Oct 13 23:54 i386-elf-g++
-rwxr-xr-x 1 root root 211727 Oct 13 23:36 i386-elf-gasp
-rwxr-xr-x 1 root root 196549 Oct 13 23:54 i386-elf-gcc
-rwxr-xr-x 2 root root 1574433 Oct 13 23:36 i386-elf-ld
-rwxr-xr-x 2 root root 1175486 Oct 13 23:36 i386-elf-nm
-rwxr-xr-x 1 root root 1531850 Oct 13 23:36 i386-elf-objcopy
-rwxr-xr-x 1 root root 1678241 Oct 13 23:36 i386-elf-objdump
-rwxr-xr-x 2 root root 1078574 Oct 13 23:36 i386-elf-ranlib
-rwxr-xr-x 1 root root 456693 Oct 13 23:36 i386-elf-readelf
-rwxr-xr-x 1 root root 1021890 Oct 13 23:36 i386-elf-size
-rwxr-xr-x 1 root root 1020909 Oct 13 23:36 i386-elf-strings
-rwxr-xr-x 2 root root 1531849 Oct 13 23:36 i386-elf-strip
==
Thank you very much for your help!
>Dmitry Ryzhkov wrote:
>> Actions:
>> ssssssss 1. ecosconfig --srcdir=${ECOS_REPOSITORY} new pc redboot
>> ssssssss 2. ecosconfig --srcdir=${ECOS_REPOSITORY} import
>> ${ECOS_REPOSITORY}/hal/i386/pc/current/misc/redboot_FLOPPY.ecm
>> ssssssss 3. ecosconfig --srcdir=${ECOS_REPOSITORY} tree
>> ssssssss 4. ecosconfig --srcdir=${ECOS_REPOSITORY} check
>> ssssssss 5. make
>>
>> Problems/Questions:
>>
>> a) I'm forced to specify srcdir, but as I understood from redboot's doc
>> (User Guide 3.1.1.1) I wouldn't need to do that. Without this it says it
>> can't find ecos.db in .../packages/redboot directory. Is there any other
>> workaround?
>
>I've never seen that. I know no reason it should look in the redboot
>subdirectory. Are you using an absolute path for ECOS_REPOSITORY? Are you
>exporting it (assuming you're using the bash shell)?
>
>All your other concerns are alright. But this one is new.
>
>> and 2nd kind, concering ld:
>>
>> /tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
>> specified for section `.rel.text'
>> /tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
>> specified for section `.rel.text.udelay'
>> /tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
>> specified for section `.rel.text.i82559_init'
>> /tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
>> specified for section `.rel.text.i82559_start'
>> /tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
>> specified for section `.rel.text.PacketRxReady'
>> /tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
>> specified for section `.rel.text.i82559_recv'
>> /tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
>> specified for section `.rel.text.i82559_can_send'
>> /tools/H-i686-pc-linux-gnu/i386-elf/bin/ld: warning: no memory region
>> specified for section `.rel.text.i82559_send'
>> ..
>> and so on.
>
>That's odd. What binutils version?
>
>Jifl