[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pc386 output not valid []

Brian Stevens

Tel +44 (0)1252 393959
Fax +44 (0)1252 395120

I have had this problem with a recent version of RTEMS. The build file
now produces elf32-i386, and despite what the manual for grub may say,
it does not seem to supportthis format.

The solution is to use coff, either by modifying the build script or by
changing the object format after the build is complete.

> ----------
> From: 	erik.ivanenko[SMTP:erik.ivanenko at utoronto.ca]
> Sent: 	26 July 1999 21:04
> To: 	bpstevens at mail.dera.gov.uk
> Subject: 	pc386 output not valid
> <<File: vcard.vcf>>
> I've followed the instructions to the letter ( I think ) in the pc386
> HOWTO to get a bootable RTEMS application diskette.  This includes
> removing stage1 from the disk after the GRUB FS disk is created.
> Unfortunately, when I try to run any of the sample tests ( *.exe )
> using
> grub 0.4, via "kernel=/hello.exe"
> I get the error:
> "Invalid or unsupported executable format"
> The file format is elf32-i386.  Changing the format to coff via
> objcopy
> results in the same error message.
> Any ideas?  The last time this worked for me was with a Linux hosted
> coff toolset.
>  I now use a Solaris 2.6 hosted elf toolset.

The Information contained in this E-Mail and any subsequent correspondence
is private and is intended solely for the intended recipient(s).
For those other than the recipient any disclosure, copying, distribution, 
or any action taken or omitted to be taken in reliance on such information is
prohibited and may be unlawful.