This is the mail archive of the ecos-discuss@sources.redhat.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]
Other format: [Raw text]

Re: Configuration Tool


Check out the Global build options in the configuration tool. see what
compiler options u have given in ur cdl file..also try building with out
-O2 option.

satish



On Mon, 6 Oct 2003 11:17:54 +0100
"James Yates" <j.yates@quartzuk.com> wrote:

> Many Thanks, seem to have sorted it now.
> 
> have another question, when I attempt to build the library, I get the following error.
> 
> make[1]: Entering directory `/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_build/services/cpuload/v2_0b1'
> sh-elf-gcc.exe: cannot specify -o with -c or -S and multiple compilations
> make[1]: Nothing to be done for `headers'.
> make[1]: *** [/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_install/include/cyg/hal/sh_offsets.inc] Error 1
> make[1]: Leaving directory `/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/pc388_build/services/cpuload/v2_0b1'
> make: *** [build] Error 2
> headers finished
> 
> I can't see where the -o -c or -S flags are specified.
> 
> My global compiler flags are :
> 
> -mb -m2 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority
> 
> and my global linker flags are:
> 
> -mb -m2 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static
> 
> Any ideas?
> 
> 
> -----Original Message-----
> From: Satish Kumar [mailto:satish@bvt.sc.sanyo.co.jp]
> Sent: 06 October 2003 03:07
> To: James Yates
> Cc: ecos-discuss@sources.redhat.com
> Subject: Re: [ECOS] Configuration Tool
> 
> 
> well, u got to relook ur hal_sh_sh7145_pc388.cdl file..i think u may not
> have declared the parent option.
> 
> satish
> 
> On Fri, 3 Oct 2003 12:54:47 +0100
> "James Yates" <j.yates@quartzuk.com> wrote:
> 
> > I am performing a port for a hardware target using the SH7145 chip. When I create a template in the configuration tool for my target platform, resolve conflict dialog appears as follows:
> > 
> > Item: CYGPKG_HAL_SH_SH7145_PC388  requires CYGPKG_HAL_SH_7145
> > 
> > I have palced CYGPKG_HAL_SH_7145 in the target in the ecos.db as follows, any ideas what I have missed out.
> > 
> > package CYGPKG_HAL_SH_SH7145_PC388 {
> >         alias           { "Quartz PC388 (sh7145)Board board" hal_sh_pc388 sh_pc388_hal }
> >         directory       hal/sh/pc388
> >         script          hal_sh_sh7145_pc388.cdl
> >         hardware
> >         description "
> >            This SH HAL package provides the support needed to run
> >            eCos on a Quartz PC388 board."
> > }
> > 
> > target pc388 {
> >         alias { "Quartz PC388 (7145)" pc388 }
> >         packages { CYGPKG_HAL_SH
> >                    CYGPKG_HAL_SH_SH2
> >                    CYGPKG_HAL_SH_SH7145_PC388
> > 		CYGPKG_HAL_SH_7145
> > 	           CYGPKG_IO_SERIAL_SH_SCI
> >         }
> >         description "
> >            The PC388 target provides the packages needed to run
> >            eCos on a Quartz PC388 (7145 based) board."
> > }
> > 
> > 
> > 
> > Any help would be greatfully received.
> > 
> > 	An eCos Newbie but Enthusiast.
> > 
> > 		James Yates
> > 
> > -- 
> > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> > and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 
> -- 
> Satish Kumar <satish@bvt.sc.sanyo.co.jp>

-- 
Satish Kumar <satish@bvt.sc.sanyo.co.jp>


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


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