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: No target platform specified error.


I used the following commands to build my eCos platform:
ecosconfig new f35xxlsi
ecoscinfig tree
ecosconfig check
make

Then I compiled my program:
v80-elf-gcc -g -I/root/ecos/install/include gps.c -L/root/ecos/install/lib 
-Ttarget.ld -nostdlib

When I compile a simple hello.c program with the same command as above one 
there are not any errors. My gps.c program uses includes files which I "make" 
for my target platform.
I am a newbie at this so any help will be appreciated.

>On Friday 06 June 2003 12:03, Wolfram Kattanek wrote:
> Quoting Konstantin Ivanov <k.ivanov@tns-bbss.bg>:
> > I recently took over an eCos project for a F35-XXL-SI board. My problem
> > is when I compile my c source file it gives me error like:
> >
> > /home/ecos/install/include/target.h:67: #error No target platform
> > specified!
> >
> > I have tager.ld file generated when eCos was build. Am I missing
> > something ?
>
> Please give us a little bit more information about your problem.
>
> Which commands did you use for building your eCos target library? How did
> you build (compile) your c source file? How does your Makefile look like?
>
> Wolfram


--
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]