Okay, Im stuck. It is definitaly a linker prob..
but I have no idea whats causing the stupid error.
Ill post everything I can, and hope someone here
can help.
Code:
#include <iostream>int main(){return 0;}
The makefile that I use (make.bat):
PATH=c:\devkitadv\bin;%PATH%g++ -o zengine.elf main.cpp -lmobjcopy -O binary zengine.elf zengine.binpause
The error..
C:\DevKitAdv>g++ -o zengine.elf main.cpp -lm/cygdrive/c/devkitadv/bin/../lib/gcc-lib/arm-agb-elf/3.0.2/../../../../arm-agb-elf/lib/libstdc++.a(pure.o): In function `__cxa_pure_virtual': ../../../../gcc-3.0.2/libstdc++-v3/libsupc++/pure.cc:49: undefined reference to `write'collect2: ld returned 1 exit status
Ive never used this compiler before..Please help!!