[vlc-devel] Re: iPaq portablility problem

Jean-Paul Saman jpsaman at wxs.nl
Thu Oct 31 19:37:43 CET 2002


Samuel Hocevar wrote:
> On Wed, Oct 30, 2002, Jean-Paul Saman wrote:
> 
> 
>>When the routine is isolated and run in a seperate program (see 
>>listdir.c) it works as expected.
> 
> 
>    Does listdir.c work if you compile it with -D_FILE_OFFSET_BITS=64 ?
> 

I compiled it with

arm-linux-gcc -finline-limit-30000 -Wall -Winline -pipe -O3 
-funroll-loops  -ffast-math -funroll-loops -fomit-frame-pointer 
-mcpu=strongarm1100 -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 
-D_LARGEFILE64_SOURCE -o listdir listdir.c

which is quite similar to what vlc uses. And it works here is some output:

  ./listdir / 
       drwxr-xr-x         /. 
                drwxr-xr-x         /.. 
                         drwxr-xr-x         /bin 
                                  drwxr-xr-x         /dev 
                                           drwxr-xr-x         /etc 
                                                    drwxr-xr-x 
/lib                                                         drwxr-xr-x 
         /mnt 
lrwxrwxrwx         /tmp 
         lrwxrwxrwx         /var 
                  drwxrwxr-x         /usr 
                           drwxr-xr-x         /boot 
                                    drwxr-xr-x         /home 
                                             dr-xr-xr-x         /proc 

drwxr-xr-x         /sbin 
         drwxr-xr-x         /root 
                  -rwxr-xr-x         /linuxrc 
                           -rw-r--r--         /.ramfs.tar.gz 
                                    Read directory: / 
                                             n=17 
                                                      Entry: ., 
drwxr-xr-x 
Entry: .., drwxr-xr-x 
         Entry: bin, drwxr-xr-x 
                  Entry: dev, drwxr-xr-x 
                           Entry: etc, drwxr-xr-x 
                                    Entry: lib, drwxr-xr-x 
                                             Entry: mnt, drwxr-xr-x 
                                                      Entry: tmp, 
lrwxrwxrwx 
Entry: var, lrwxrwxrwx 
         Entry: usr, drwxrwxr-x 
                  Entry: boot, drwxr-xr-x 
                           Entry: home, drwxr-xr-x 
                                    Entry: proc, dr-xr-xr-x 
                                             Entry: sbin, drwxr-xr-x 
                                                      Entry: root, 
drwxr-xr-x 
Entry: linuxrc, -rwxr-xr-x 
         Entry: .ramfs.tar.gz, -rw-r--r--

Could it be somethin related to -D_REENTRANT ?


-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list