RTEMS web server linking error !

Rosimildo da Silva rdasilva at connecttel.com
Wed May 24 11:57:19 UTC 2000


Nick.SIMON at syntegra.bt.co.uk wrote:
> 
> Aha!  My tarfile.o had _binary_o-optimize-tarfile_start etc. in it.  Now
> fixed.  Here's a diff on netdemos-4.5.0-beta2/http/Makefile:
> 
> 59c59,61
> <       $(LD) -r -o $(ARCH)/temp.o  $(ARCH)/init.o -b binary $(ARCH)/tarfile
> ---
> >       cp $(ARCH)/tarfile .
> >       $(OBJCOPY) -I binary -O elf32-powerpc tarfile $(ARCH)/tarfile.o
> >       $(LD) -r -o $(ARCH)/temp.o  $(ARCH)/init.o $(ARCH)/tarfile.o
> 
> I'm not wild about this (esp having elf32-powerpc embedded in it), but it
> seems to work.
> 
> Thanks for your help,
> 
> -- Nick Simon
> 


Nick,


I did not like this either. For the pc386 I have written a small utility
that
generates a "C" file as a global array. This approach might have serious
consequences on systems with low memory footprint, because you may endup
with one
copy of the array in ROM and another in RAM. 
For the PC386, this is not one issue and memory is not either. :-).

It automatically creates the routine to call and initialize the FS in
your main()
routine.


-- 
Rosimildo da Silva            rdasilva at connectel.com 
ConnectTel, Inc.              Austin, TX -- USA      
Phone : 512-338-1111          Fax : 512-918-0449     
Mobile: 512-632-7579                                 
Company Page: http://www.connecttel.com              
Home Page: http://members.xoom.com/rosimildo/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tar2c.c
Type: application/x-unknown-content-type-c_auto_file
Size: 3275 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20000524/9639400c/attachment-0001.bin>


More information about the users mailing list