Did you create myFile.cc? myFile.cc should be in the same directory of the 
Sconscript that you added because you used the path 'myFile.cc' to the file.

I hope this helps.

----------------------------------------------------------------------------------------------------------------------------------------------
Francisco Carlos Silva Junior
Phd Student

________________________________
De: Alex Freij via gem5-users <gem5-users@gem5.org>
Enviado: quinta-feira, 7 de maio de 2020 11:31
Para: gem5-users@gem5.org <gem5-users@gem5.org>
Cc: Alex Freij <atfr...@ncsu.edu>
Assunto: [gem5-users] Adding new source files

Hi all,

I'm trying to understand how to add source files to the gem5 project without 
the need to create a SimObject. I've added `Source('myFile.cc')` into the 
respective SConscript file, but when I try to build I get this message:

scons: *** [build/X86/sim/myFile.o] Source `build/X86/sim/myFile.cc' not found, 
needed by target `build/X86/sim/myFile.o'.
scons: building terminated because of errors.

This is a very rookie question, but guidance would be appreciated!

- Alex
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to