This is the mail archive of the ecos-discuss@sourceware.cygnus.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]

AW: i386 PC target


Hi Jonathan

Jonathan Larmour wrote:
>
> Jörg Rapka wrote:
> > make -r -C hal/common/v1_3_1 headers
> > make[1]: Entering directory
> > `/cygdrive/m/Project/eCos/i386/work_build/hal/common/v1_3_1'
> > ...
> > headers finished
> > make -r -C hal/common/v1_3_1 build
> > make[1]: Entering directory
> > `/cygdrive/m/Project/eCos/i386/work_build/hal/common/v1_3_1'
> > i386-elf-gcc -c  ...a lot of include path and compiler flags... \
> >    -o src/hal_common_generic-stub.o
> > /eCos/packages/hal/common/v1_3_1/src/generic-stub.c
> > Assembler messages:
> > Error: Can't open xxx for reading.
> > xxx: Invalid argument
> > make[1]: *** [src/generic-stub.o.d] Error 1
> > make[1]: Leaving directory
> > `/cygdrive/m/Project/eCos/i386/work_build/hal/common/v1_3_1'
> > make: *** [build] Error 2
> >
> > NOTE: The xxx in the printout above is the character 0xDE.
> >
> > What's going wrong here.
> > Can anyone give me a hint where to look?
>
> Add "-v" to CYGBLD_GLOBAL_CFLAGS and let me (and the list) know what that
> gives.

>Sorry, I should be more verbose since you're using the Windows
>configuration tool: Go to the Global Build Options folder in the
>configuration view, and then add "-v" to the Global Compiler Flags.

I discover the problem during the build process of eCos.
I tried to compile a simple demo application with the following command
and got the same error:
i386-elf-gcc -c demo.c

Then I checked once again the mounting of the root directory ('/') under
Cygwin and it was still set to binary. After I change the the mount to
textmode the build process was successful.
It seems, that there is always the same error reasons (to build the
development
tools, the root directory must also be mounted in textmode).

Best regards
Jörg


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