Created the Emulator page in the wiki: http://uzebox.org/wiki/index.php?title=Emulator
--Filipe
filipe wrote:Created the Emulator page in the wiki: http://uzebox.org/wiki/index.php?title=Emulator
--Filipe
=================================
Building Debug...
Platform: Windows-Windows_NT
=================================
C:/MinGW/bin/g++ -c uzem.cpp -o Debug/uzem.o -march=native -mtune=native -IC:/MinGW/include/SDL -DWindows_NT -D_GNU_SOURCE=1 -DGUI=1 -g -MD -MP -MF Debug/uzem.d -DUSE_PORT_PRI
NT=1 -DUSE_SPI_DEBUG=1 -DUSE_EEPROM_DEBUG=1 -DUSE_GDBSERVER_DEBUG=1
uzem.cpp:1: error: bad value (native) for -march= switch
uzem.cpp:1: error: bad value (native) for -mtune= switch
make[1]: *** [Debug/uzem.o] Error 1
make: *** [all] Error 2######################################
# Architecture
######################################
ifeq ($(ARCH),)
ARCH := native
MTUNE := -mtune=native
endif
######################################
# Architecture
######################################
ifeq ($(ARCH),)
ARCH := i686
MTUNE := -mtune=i686
endif
...
C:/MinGW/bin/g++ Debug/uzem.o Debug/avr8.o Debug/uzerom.o Debug/gdbserver.o -o uzemdbg -IC:/MinGW/include/SDL -DWindows_NT -D_GNU_SOURCE=1 -DGUI=1 -lSDLmain -lSDL -lws2_3
2 -Wl,-u,_WinMain@16 -DUSE_PORT_PRINT=1 -DUSE_SPI_DEBUG=1 -DUSE_EEPROM_DEBUG=1 -DUSE_GDBSERVER_DEBUG=1
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lSDLmain
collect2: ld returned 1 exit status
make[1]: *** [uzemdbg] Error 1
make: *** [all] Error 2
Users browsing this forum: No registered users and 1 guest