Changeset 445 for trunk/user/idbg


Ignore:
Timestamp:
May 29, 2018, 9:27:23 AM (7 years ago)
Author:
alain
Message:

Restructure the mini_libc.

Location:
trunk/user/idbg
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/user/idbg/Makefile

    r444 r445  
    1111OBJS = build/idbg.o
    1212
    13 INCLUDES = -I. -I$(LIBC_INCLUDE) -I$(LIBALMOSMKH_INCLUDE) -I$(SHARED_INCLUDE) -I$(LIBPTHREAD_INCLUDE)
     13INCLUDES = -I.                      \
     14           -I$(LIBC_INCLUDE)        \
     15           -I$(LIBPTHREAD_INCLUDE)  \
     16           -I$(LIBALMOSMKH_INCLUDE) \
     17           -I$(SHARED_INCLUDE)
    1418
    1519compile: dirs build/idbg.elf
    1620
    1721build/idbg.elf : $(OBJS) idbg.ld
    18         $(LD) -o $@ -T idbg.ld $(OBJS) -nostdlib -L$(LIBC) -L$(LIBPTHREAD) -L$(LIBALMOSMKH)  -lpthread -lc -lalmos-mkh -lc -lpthread -lc -lalmos-mkh -lpthread -lc
     22        $(LD) -o $@ -T idbg.ld $(OBJS) -nostdlib -L$(LIBC) -L$(LIBPTHREAD) -L$(LIBALMOSMKH) -lpthread -lc -lalmosmkh -lc -lpthread
    1923        $(DU) -D $@ > $@.txt
    2024
  • trunk/user/idbg/idbg.c

    r444 r445  
    88///////////////////////////////////////////////////////////////////////////////
    99
    10 
    1110#include <stdlib.h>
    1211#include <stdio.h>
    13 #include <almos-mkh.h>
     12#include <almosmkh.h>
    1413
    1514///////////
Note: See TracChangeset for help on using the changeset viewer.