public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] i386 target
@ 2006-05-31 11:18 Marcin Chrusciel
  2006-05-31 11:32 ` Andrew Lunn
  0 siblings, 1 reply; 6+ messages in thread
From: Marcin Chrusciel @ 2006-05-31 11:18 UTC (permalink / raw)
  To: ecos-discuss

Hello,

I was trying to build i368 with RTL8139 target, but just at first gcc
invole I got this error:

/tmp/ccYC36qX.s: Assembler messages:
/tmp/ccYC36qX.s:165: Error: junk at end of line, first unrecognized
character is `"'
/tmp/ccYC36qX.s:167: Warning: .type pseudo-op used outside of
.def/.endef ignored.
/tmp/ccYC36qX.s:167: Error: junk at end of line, first unrecognized
character is `_'
/tmp/ccYC36qX.s:170: Error: unknown pseudo-op: `.previous'
/tmp/ccYC36qX.s:172: Error: junk at end of line, first unrecognized
character is `"'
/tmp/ccYC36qX.s:174: Warning: .type pseudo-op used outside of
.def/.endef ignored.
/tmp/ccYC36qX.s:174: Error: junk at end of line, first unrecognized
character is `_'
/tmp/ccYC36qX.s:177: Error: unknown pseudo-op: `.previous'
make[1]: *** [src/ioinit.o.d] Error 1
make: *** [build] Error 2
make: Leaving directory `/ecos-c/a/i386_build'

Thanks for any help in advance:)

Marcin 


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] i386 target
  2006-05-31 11:18 [ECOS] i386 target Marcin Chrusciel
@ 2006-05-31 11:32 ` Andrew Lunn
  2006-05-31 12:11   ` AW: " Ram Sudhir Tadavarthi
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Lunn @ 2006-05-31 11:32 UTC (permalink / raw)
  To: Marcin Chrusciel; +Cc: ecos-discuss

On Wed, May 31, 2006 at 01:16:04PM +0200, Marcin Chrusciel wrote:
> Hello,
> 
> I was trying to build i368 with RTL8139 target, but just at first gcc
> invole I got this error:
> 
> /tmp/ccYC36qX.s: Assembler messages:
> /tmp/ccYC36qX.s:165: Error: junk at end of line, first unrecognized
> character is `"'
> /tmp/ccYC36qX.s:167: Warning: .type pseudo-op used outside of
> .def/.endef ignored.
> /tmp/ccYC36qX.s:167: Error: junk at end of line, first unrecognized
> character is `_'
> /tmp/ccYC36qX.s:170: Error: unknown pseudo-op: `.previous'
> /tmp/ccYC36qX.s:172: Error: junk at end of line, first unrecognized
> character is `"'
> /tmp/ccYC36qX.s:174: Warning: .type pseudo-op used outside of
> .def/.endef ignored.
> /tmp/ccYC36qX.s:174: Error: junk at end of line, first unrecognized
> character is `_'
> /tmp/ccYC36qX.s:177: Error: unknown pseudo-op: `.previous'
> make[1]: *** [src/ioinit.o.d] Error 1
> make: *** [build] Error 2
> make: Leaving directory `/ecos-c/a/i386_build'

Check which assembler is being used. Is it the correct one?

      Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* AW: [ECOS] i386 target
  2006-05-31 11:32 ` Andrew Lunn
@ 2006-05-31 12:11   ` Ram Sudhir Tadavarthi
  2006-05-31 12:27     ` Andrew Lunn
  0 siblings, 1 reply; 6+ messages in thread
From: Ram Sudhir Tadavarthi @ 2006-05-31 12:11 UTC (permalink / raw)
  To: 'Marcin Chrusciel'; +Cc: ecos-discuss

Try renaming the file name "ccYC36qX.s" to "ccYC36qX.S". 

Let us know if it works

Regards,
ram

-----Ursprüngliche Nachricht-----
Von: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] Im Auftrag von Andrew Lunn
Gesendet: Mittwoch, 31. Mai 2006 13:30
An: Marcin Chrusciel
Cc: ecos-discuss@ecos.sourceware.org
Betreff: Re: [ECOS] i386 target

On Wed, May 31, 2006 at 01:16:04PM +0200, Marcin Chrusciel wrote:
> Hello,
> 
> I was trying to build i368 with RTL8139 target, but just at first gcc
> invole I got this error:
> 
> /tmp/ccYC36qX.s: Assembler messages:
> /tmp/ccYC36qX.s:165: Error: junk at end of line, first unrecognized
> character is `"'
> /tmp/ccYC36qX.s:167: Warning: .type pseudo-op used outside of
> .def/.endef ignored.
> /tmp/ccYC36qX.s:167: Error: junk at end of line, first unrecognized
> character is `_'
> /tmp/ccYC36qX.s:170: Error: unknown pseudo-op: `.previous'
> /tmp/ccYC36qX.s:172: Error: junk at end of line, first unrecognized
> character is `"'
> /tmp/ccYC36qX.s:174: Warning: .type pseudo-op used outside of
> .def/.endef ignored.
> /tmp/ccYC36qX.s:174: Error: junk at end of line, first unrecognized
> character is `_'
> /tmp/ccYC36qX.s:177: Error: unknown pseudo-op: `.previous'
> make[1]: *** [src/ioinit.o.d] Error 1
> make: *** [build] Error 2
> make: Leaving directory `/ecos-c/a/i386_build'

Check which assembler is being used. Is it the correct one?

      Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] i386 target
  2006-05-31 12:11   ` AW: " Ram Sudhir Tadavarthi
@ 2006-05-31 12:27     ` Andrew Lunn
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Lunn @ 2006-05-31 12:27 UTC (permalink / raw)
  To: Ram Sudhir Tadavarthi; +Cc: 'Marcin Chrusciel', ecos-discuss

On Wed, May 31, 2006 at 02:10:29PM +0200, Ram Sudhir Tadavarthi wrote:
> Try renaming the file name "ccYC36qX.s" to "ccYC36qX.S". 
> 
> Let us know if it works

Interesting theory.

You are thinking that the assembly language file produced by gcc
contains preprocessor macros and that make is not preprocessing it
before assembling it?

I think this cannot be correct for two reasons.

1) It seems unlikely to me that gcc would use preprocessor macros in
   the assembly language code it produces.

2) gcc will internally call the assembler to convert the assembly
   language file it generated for a given .c files to a .o file. make
   should not be involved in this step.

However, i could be wrong.

         Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] i386 target
  2001-06-16  4:31 Usmamih Rahkes
@ 2001-06-17  4:14 ` Jonathan Larmour
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Larmour @ 2001-06-17  4:14 UTC (permalink / raw)
  To: Usmamih Rahkes; +Cc: ecos-discuss

Usmamih Rahkes wrote:
> 
> Hi,
> Could anyone tell me how to make a bootable floppy for a PC target for eCos.
> Which image have I to put on the floppy.
> 
> I found somebody asking the same for a linux target, but my host is WinNT.
> 
> I was trying to find it in eCos documentation that was installed, but
> couldn't.

If this is CVS eCos then the guide is
http://sources.redhat.com/ecos/docs-latest/redboot/x86pc.html

If this is eCos v1.3.1 then you can probably adapt the above instructions
by just changing the filename. There should be a prebuilt image in the
loaders/ directory of your eCos directory. Or if not you can rebuilt it
using the "stubs" template: when you build the eCos library with this
template the gdb_module.bin file will be in the bin directory of your eCos
configuration's install tree.

But there's been many improvements in the CVS version of eCos so it's
probably worth trying to get that.
http://sources.redhat.com/ecos/anoncvs.html

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ECOS] i386 target
@ 2001-06-16  4:31 Usmamih Rahkes
  2001-06-17  4:14 ` Jonathan Larmour
  0 siblings, 1 reply; 6+ messages in thread
From: Usmamih Rahkes @ 2001-06-16  4:31 UTC (permalink / raw)
  To: ecos-discuss

Hi,
Could anyone tell me how to make a bootable floppy for a PC target for eCos. 
Which image have I to put on the floppy.

I found somebody asking the same for a linux target, but my host is WinNT.

I was trying to find it in eCos documentation that was installed, but 
couldn't.

Thanks in advance,
Rahkes Usmamih.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-05-31 12:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-31 11:18 [ECOS] i386 target Marcin Chrusciel
2006-05-31 11:32 ` Andrew Lunn
2006-05-31 12:11   ` AW: " Ram Sudhir Tadavarthi
2006-05-31 12:27     ` Andrew Lunn
  -- strict thread matches above, loose matches on Subject: below --
2001-06-16  4:31 Usmamih Rahkes
2001-06-17  4:14 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).