[so] [Tema1][Windows]Sistem de fisiere

Razvan Deaconescu razvan.deaconescu at cs.pub.ro
Mon Mar 16 00:45:09 EET 2009


On Sun, 2009-03-15 at 19:01 +0200, Sergiu Iordache wrote:
> 2009/3/14 Razvan Deaconescu <razvan.deaconescu at cs.pub.ro>:
> > Alte neajunsuri au tinut de utilizarea comenzilor gcc si g++. Fisierele
> > asociate sunt link-uri simbolice catre gcc-3 si g++-3 si nu puteau fi
> > rulate decat sub acest nume folosind CreateProcess. Testele respective
> > au fost modificate.
> 
> Salut Răzvan,
> Testul 8 acum arata cam asa:
> > echo "int main(){return 0;}" | cat > src.c
> > gcc -o a.exe src.c
> > ./a.exe
> > rm a.exe
> 
> Aici eu am două probleme:
>  * e gcc(vezi concluzia ta de mai sus)

Am corectat in test. Imi scapase. Am reuploadat. Nu uitati sa faceti
clear la cache-ul browserului.

>  * chiar daca schimb gcc in gcc-3 cand rulez din shell imi da o eroare
> de link-editare:
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):(.text+0xab):
>  undefined reference to `_WinMain at 16'
> collect2: ld returned 1 exit status

Verifica fisierul src.c obtinut. Sigur ai citit al treilea bullet de la
Precizari Windows[1]?

Razvan

[1] http://cs.pub.ro/~so/index.php?section=Teme&file=01.%20Mini-shell#Preciz.C4.83ri_Windows


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the so mailing list