Mini C project - Digging the source ?

Christopher R. Hertel crh at nts.umn.edu
Tue Jan 8 09:39:02 GMT 2002


> > > >Also, libsmbclient is designed for Unix.  I know Ulf's 
> > platform, and it
> > > >isn't Unix.
> > > >
> > > Yes, that is true :-)
> > 
> > Could probably be fixed...  ;)
> 
> Don't even try, so many have failed before you :)

I was thinking along the lines of the work Olaf has done.   It is 
possible to reduce the number of library calls and concentrate them in 
specific (replacable) code modules.

I've already done this with some of my own code (not Samba code).  SAS C
for Amiga doesn't have strncasecmp(), but it has something equivalent. 
Easy to patch code that calls strncasecmp() to use the other calls
instead. 

> If I had some common sence I would move over to
> the Linux vagon years ago.

My reason for still playing on the Amiga is that it forces a kind of 
dicipline that isn't needed on other platforms.  I need to keep things 
very small, very fast, very clean in ways that are not needed on other 
OSes.  It takes a lot of programmer time, I must say, but it has a very 
positive impact whenever I try to work on embedded or real-time systems.

> But I like my 10 year old overexpensive, homemade hardware.

I like my new little Zaurus (though I have a number of issues with it).  
It runs Linux, but the memory space is tiny for a Linux device.  I'm used 
to 128MB or more.  This is 16MB flash and 32MB RAM (IIRC).  Small for 
Linux, as I said.  Someone has ported Samba to the Z (based on the 
Familiar Linux port for iPaq), but Samba is just way too much for that 
sort of platform.

Chris -)-----

-- 
Christopher R. Hertel -)-----                   University of Minnesota
crh at nts.umn.edu              Networking and Telecommunications Services

    Ideals are like stars; you will not succeed in touching them
    with your hands...you choose them as your guides, and following
    them you will reach your destiny.  --Carl Schultz




More information about the samba-technical mailing list