[ECOS] Latest redboot for PC - how to build?
Dmitry Ryzhkov
rdim_outside@softhome.net
Wed Oct 17 15:41:00 GMT 2001
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
More information about the Ecos-discuss
mailing list