Changeset 275 for Whitix/trunk/user/sdk

Show
Ignore:
Timestamp:
04/16/08 13:45:01 (7 months ago)
Author:
mwhitworth
Message:

Update user makefiles to work on 64-bit hosts.

Location:
Whitix/trunk/user/sdk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • Whitix/trunk/user/sdk/console/Makefile

    r267 r275  
    1 CFLAGS = -Wall -I../include -I../../librtl -nostdlib -ffreestanding -fno-builtin -fPIC -m32 
     1CFLAGS = -Wall -I../include -I../../librtl -I../../libc/include -nostdlib -ffreestanding -fno-builtin -fPIC -m32 
    22 
    33OBJS = console.o 
     
    77 
    88build: $(OBJS) 
    9         gcc -nostdlib -ffreestanding -fno-builtin -shared -o ../libs/libconsole.so *.o ../../libc/init/crt_begin.o ../../libc/init/crt_end.o -L../../libc -lstdc 
     9        gcc -m32 -nostdlib -ffreestanding -fno-builtin -shared -o ../libs/libconsole.so *.o ../../libc/init/crt_begin.o ../../libc/init/crt_end.o -L../../libc -lstdc 
    1010 
    1111clean: 
  • Whitix/trunk/user/sdk/network/Makefile

    r267 r275  
    77 
    88build: $(OBJS) 
    9         gcc -nostdlib -ffreestanding -fno-builtin -shared -o ../libs/libnetwork.so *.o ../../libc/init/crt_begin.o ../../libc/init/crt_end.o 
     9        gcc -m32 -nostdlib -ffreestanding -fno-builtin -shared -o ../libs/libnetwork.so *.o ../../libc/init/crt_begin.o ../../libc/init/crt_end.o 
    1010 
    1111clean: 
  • Whitix/trunk/user/sdk/thread/Makefile

    r267 r275  
    1 CFLAGS = -Wall -I../include -I../../librtl -nostdlib -ffreestanding -fno-builtin -fPIC -m32 
     1CFLAGS = -Wall -I../include -I../../librtl -I../../libc/include -nostdlib -ffreestanding -fno-builtin -fPIC -m32 
    22 
    33OBJS = mutex.o 
     
    77 
    88build: $(OBJS) 
    9         gcc -nostdlib -ffreestanding -fno-builtin -shared -o ../libs/libthread.so *.o ../../libc/init/crt_begin.o ../../libc/init/crt_end.o -L../../libc -lstdc 
     9        gcc -m32 -nostdlib -ffreestanding -fno-builtin -shared -o ../libs/libthread.so *.o ../../libc/init/crt_begin.o ../../libc/init/crt_end.o -L../../libc -lstdc 
    1010 
    1111clean: